summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/pdfdoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/pdfdoc.c')
-rw-r--r--Build/source/texk/xdvipdfmx/src/pdfdoc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/pdfdoc.c b/Build/source/texk/xdvipdfmx/src/pdfdoc.c
index a15c4773ba5..c6d0d386ae8 100644
--- a/Build/source/texk/xdvipdfmx/src/pdfdoc.c
+++ b/Build/source/texk/xdvipdfmx/src/pdfdoc.c
@@ -500,6 +500,7 @@ asn_date (char *date_string)
bd_time->tm_year + 1900, bd_time->tm_mon + 1, bd_time->tm_mday,
bd_time->tm_hour, bd_time->tm_min, bd_time->tm_sec,
-(bd_time->tm_gmtoff / 3600), (bd_time->tm_gmtoff % 3600) / 60);
+
return strlen(date_string);
#else /* simplified version that should work everywhere */
time_t current_time;