diff options
| author | 2023-05-13 10:56:58 -0400 | |
|---|---|---|
| committer | 2023-05-13 10:56:58 -0400 | |
| commit | 926c2766b03c1fc09a5b5de08021d9ed048d821d (patch) | |
| tree | 3b0cd6d79215ffa5cff4123cc685ef73cbf4b440 /src/date.h | |
| parent | remove headers from project.janet (diff) | |
add shortcuts for *time(mktime)
Diffstat (limited to 'src/date.h')
| -rw-r--r-- | src/date.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -17,7 +17,12 @@ JANET_CFUN(jd_time); // tm.c extern const JanetRegExt jd_tm_cfuns[]; struct tm *jd_gettm(Janet *argv, int32_t n); +struct tm *jd_opttm(Janet *argv, int32_t argc, int32_t n); struct tm *jd_maketm(void); JANET_CFUN(jd_mktime); JANET_CFUN(jd_mktime_inplace); +JANET_CFUN(jd_time_localtime); +JANET_CFUN(jd_time_localtime_inplace); +JANET_CFUN(jd_time_utc); +JANET_CFUN(jd_time_utc_inplace); JANET_CFUN(jd_strftime); |
