aboutsummaryrefslogtreecommitdiff
path: root/timezone
diff options
context:
space:
mode:
Diffstat (limited to 'timezone')
-rw-r--r--timezone/tst-timezone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timezone/tst-timezone.c b/timezone/tst-timezone.c
index 3585a9c..e866b94 100644
--- a/timezone/tst-timezone.c
+++ b/timezone/tst-timezone.c
@@ -89,9 +89,9 @@ main (int argc, char ** argv)
const struct test_times *pt;
char buf[BUFSIZ];
- /* This should be: Thu May 14 18:02:16 1998. */
+ /* This should be: Fri May 15 01:02:16 1998 (UTC). */
t = 895194136;
- printf ("We use this date: %s\n", ctime (&t));
+ printf ("We use this date: %s\n", asctime (gmtime (&t)));
for (pt = tests; pt->name != NULL; ++pt)
{