aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2024-03-09release 1.0.2HEADv1.0.2mainChloé Vulquin-1/+1
2024-03-09fix build failure caused by GNUChloé Vulquin-1/+2
2023-07-26release 1.0.1v1.0.1Chloe Kudryavtsev-1/+1
2023-07-26Add missing parensJosef Pospíšil-1/+1
2023-07-26test: test both update-time and its * variantChloe Kudryavtsev-1/+1
variation of #2 that still tests the * variant
2023-07-26fix #2Chloe Kudryavtsev-1/+2
I actually had this fixed locally for almost a month, but forgot to commit and push it. Thanks for reminding me @pepe!
2023-06-18add url to project.janetChloe Kudryavtsev-1/+2
2023-06-18prepare for 1.0.0 release and pkgs.janet inclusionChloe Kudryavtsev-32/+144
2023-06-17allow constructing your own date/tm valuesChloe Kudryavtsev-13/+43
2023-06-02minor native sources cleanupChloe Kudryavtsev-37/+37
2023-06-02add date/format to apiChloe Kudryavtsev-0/+35
2023-06-02finalize api draft 1, add testsChloe Kudryavtsev-4/+17
2023-06-02improve explanation of rfc3339 and coChloe Kudryavtsev-3/+6
2023-06-02improve iso8601 handlingChloe Kudryavtsev-6/+13
2023-06-01update built-in formatsChloe Kudryavtsev-5/+28
2023-05-31integrate timegm into the library, misc spelling fixes, testsChloe Kudryavtsev-20/+27
2023-05-31add docs, callables for timegmChloe Kudryavtsev-15/+22
2023-05-31fix JANET_REG on windowsChloe Kudryavtsev-25/+25
the short version appears to be that "ab" "cd" in source to mean "abcd" is a non-standard extension as such, anything that looks like that with a const char[] does not turn out to be true const, and thus can't be used statically this primarily affects MSVC and tcc ... so just make it runtime janet_cfuns_ext only accesses the fields, and therefore all of the data should make it over
2023-05-31do not use eggert/tz on MSVCChloe Kudryavtsev-4/+6
I tried using windows and have given up. The errors are arcane, like what do you mean struct tm is an int??
2023-05-31do not provide source info or documentation on windowsChloe Kudryavtsev-0/+6
JANET_REG_SD is broken on MSVC
2023-05-31eliminate instances of void* arithmeticChloe Kudryavtsev-4/+4
MSVC doesn't know how to handle it, so treat them as unsigned char*
2023-05-31add timegmChloe Kudryavtsev-0/+35
2023-05-31make GNU expose tm_gmtoff and tm_zoneChloe Kudryavtsev-0/+6
2023-05-31use TM_GMTOFF when it's presentChloe Kudryavtsev-1/+1
2023-05-31initial janet wrapper editionChloe Kudryavtsev-0/+98
2023-05-31do not panic on invalid tm put fieldChloe Kudryavtsev-1/+5
2023-05-31no longer hardcode the offset in time tostringChloe Kudryavtsev-2/+2
2023-05-31add ISO 8601 and "default" strftime prebaked formatsChloe Kudryavtsev-0/+5
2023-05-31get better more/thorough tests for the native wrapperChloe Kudryavtsev-13/+43
2023-05-30adjust abstract type names with namespaceChloe Kudryavtsev-2/+2
2023-05-30remove jd_time_{localtime,utc}Chloe Kudryavtsev-64/+0
the correct approach is to keep it in time_t form as much as possible and apply transformations on that
2023-05-30remove warning from localtimeChloe Kudryavtsev-1/+1
2023-05-30add notes, need to go do work nowChloe Kudryavtsev-0/+9
2023-05-30build with tz's LIBSRCChloe Kudryavtsev-1/+6
2023-05-29Add eggert/tz module at release 2023cChloe Kudryavtsev-0/+3
2023-05-13add ability to construct a tm from a dictChloe Kudryavtsev-1/+52
it's very error prone but hey sometimes you need to notably *only* allowed for UTC for a myriad of reasons funnily enough, that means it's largely incompatible with macos for now
2023-05-13add TM_GMTOFF and TM_ZONEChloe Kudryavtsev-5/+62
I might want to be able to write to them, but that seems very error-prone.
2023-05-13better tests that also serve as temporary docsChloe Kudryavtsev-10/+32
2023-05-13add shortcuts for *time(mktime)Chloe Kudryavtsev-4/+76
2023-05-13remove headers from project.janetChloe Kudryavtsev-1/+0
it's actually useless
2023-05-12note about macosChloe Kudryavtsev-0/+2
development to continue on linux?
2023-05-12big updatesChloe Kudryavtsev-96/+110
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
2023-05-12investigating...Chloe Kudryavtsev-0/+8
2023-05-12fix tm_from_dict year bugChloe Kudryavtsev-1/+1
2023-05-12rewriteChloe Kudryavtsev-469/+421
Split it into multiple things. The new tests will actually reflect how you should use the native library.
2023-05-11update many thingsChloe Kudryavtsev-10/+53
this is kind of a mess and I'm thinking of making the native portion much bigger to just have a better API at this point
2023-05-11initial commitChloe Kudryavtsev-0/+465