summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dpxutil.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-08-24 10:48:43 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-08-24 10:48:43 +0000
commit7f9fbe43db01d092e022855fd5a16d073600ecee (patch)
tree19201c4c662bda653332de1b575172077ec6fce5 /Build/source/texk/dvipdfm-x/dpxutil.c
parent9a8e75d0446876b0aca16070438689082d60fb3c (diff)
Take into account summertime. Always output color change code. (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@51948 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dpxutil.c')
-rw-r--r--Build/source/texk/dvipdfm-x/dpxutil.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/dpxutil.c b/Build/source/texk/dvipdfm-x/dpxutil.c
index 8f884b98219..bc21c86aeec 100644
--- a/Build/source/texk/dvipdfm-x/dpxutil.c
+++ b/Build/source/texk/dvipdfm-x/dpxutil.c
@@ -1,6 +1,6 @@
/* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
- Copyright (C) 2002-2018 by Jin-Hwan Cho and Shunsaku Hirata,
+ Copyright (C) 2002-2019 by Jin-Hwan Cho and Shunsaku Hirata,
the dvipdfmx project team.
Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu>
@@ -163,6 +163,9 @@ dpx_util_format_asn_date (char *date_string, int need_timezone)
tz_offset = 0;
}
if (need_timezone) {
+ if (bd_time->tm_isdst > 0) {
+ tz_offset += 3600;
+ }
sprintf(date_string, "D:%04d%02d%02d%02d%02d%02d%c%02d'%02d'",
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,