aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 69a045b8341..e8b2a08c79f 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -656,7 +656,12 @@ the data it can't find.")
656#ifdef HAVE_TM_ZONE 656#ifdef HAVE_TM_ZONE
657 if (t->tm_zone) 657 if (t->tm_zone)
658 s = t->tm_zone; 658 s = t->tm_zone;
659#else /* not HAVE_TM_ZONE */
660#ifdef HAVE_TZNAME
661 if (t->tm_isdst == 0 || t->tm_isdst == 1)
662 s = tzname[t->tm_isdst];
659#endif 663#endif
664#endif /* not HAVE_TM_ZONE */
660 if (!s) 665 if (!s)
661 { 666 {
662 /* No local time zone name is available; use "+-NNNN" instead. */ 667 /* No local time zone name is available; use "+-NNNN" instead. */