aboutsummaryrefslogtreecommitdiff
path: root/src/date.h
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-05-12 16:53:08 -0400
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-05-12 16:53:08 -0400
commit2d2617b63706b8781418565330d23449701b3a71 (patch)
treed23b163114289f7a5d4bed749b916603f244319e /src/date.h
parentinvestigating... (diff)
big updates
ok I figured out what the problem was, I think? put is nice too now, no more conversions eh also offsets are nice, makes iterating way easier
Diffstat (limited to 'src/date.h')
-rw-r--r--src/date.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/date.h b/src/date.h
index de0eb2b..3661421 100644
--- a/src/date.h
+++ b/src/date.h
@@ -5,14 +5,11 @@
// util.c
JanetBuffer *strftime_buffer(const char *format, const struct tm *tm, JanetBuffer *buffer);
-struct tm *jd_tm_from_dict(JanetDictView dict);
-JanetTable *jd_tm_to_table(struct tm *tm);
// time.c
extern const JanetRegExt jd_time_cfuns[];
time_t *jd_gettime(Janet *argv, int32_t n);
time_t *jd_maketime(void);
-JANET_CFUN(jd_dict_time);
JANET_CFUN(jd_gmtime);
JANET_CFUN(jd_localtime);
JANET_CFUN(jd_time);
@@ -21,8 +18,6 @@ JANET_CFUN(jd_time);
extern const JanetRegExt jd_tm_cfuns[];
struct tm *jd_gettm(Janet *argv, int32_t n);
struct tm *jd_maketm(void);
-JANET_CFUN(jd_dict_tm);
JANET_CFUN(jd_mktime);
JANET_CFUN(jd_mktime_inplace);
JANET_CFUN(jd_strftime);
-JANET_CFUN(jd_tm_dict);