aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tm.c b/src/tm.c
index b016bb2..9c2a91f 100644
--- a/src/tm.c
+++ b/src/tm.c
@@ -221,7 +221,7 @@ JANET_FN(jd_tm,
struct tm *out = jd_maketm();
memset(out, 0, sizeof(struct tm));
#ifdef TM_GMTOFF
- out->tm_gmtoff = 0;
+ out->TM_GMTOFF = 0;
#endif
for (int32_t i = 0; i < view.cap; i++) {