aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tm.c b/src/tm.c
index 9385190..a88ac36 100644
--- a/src/tm.c
+++ b/src/tm.c
@@ -11,6 +11,7 @@ static JanetMethod jd_tm_methods[] = {
{NULL, NULL},
};
+// WARNING: this only works if they're BOTH localtime or gmtime
static int jd_tm_compare(void *lhs, void *rhs) {
struct tm lhp = (*(struct tm*)lhs);
struct tm rhp = (*(struct tm*)rhs);