| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-03-09 | fix build failure caused by GNU | -1/+2 | ||
| 2023-06-17 | allow constructing your own date/tm values | -9/+16 | ||
| 2023-06-02 | minor native sources cleanup | -37/+37 | ||
| 2023-06-02 | improve explanation of rfc3339 and co | -3/+6 | ||
| 2023-06-02 | improve iso8601 handling | -6/+13 | ||
| 2023-06-01 | update built-in formats | -5/+28 | ||
| 2023-05-31 | add docs, callables for timegm | -15/+22 | ||
| 2023-05-31 | fix JANET_REG on windows | -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-31 | do not provide source info or documentation on windows | -0/+6 | ||
| JANET_REG_SD is broken on MSVC | ||||
| 2023-05-31 | eliminate instances of void* arithmetic | -4/+4 | ||
| MSVC doesn't know how to handle it, so treat them as unsigned char* | ||||
| 2023-05-31 | add timegm | -0/+35 | ||
| 2023-05-31 | make GNU expose tm_gmtoff and tm_zone | -0/+6 | ||
| 2023-05-31 | use TM_GMTOFF when it's present | -1/+1 | ||
| 2023-05-31 | do not panic on invalid tm put field | -1/+5 | ||
| 2023-05-31 | no longer hardcode the offset in time tostring | -2/+2 | ||
| 2023-05-31 | add ISO 8601 and "default" strftime prebaked formats | -0/+5 | ||
| 2023-05-31 | get better more/thorough tests for the native wrapper | -0/+1 | ||
| 2023-05-30 | adjust abstract type names with namespace | -2/+2 | ||
| 2023-05-30 | remove jd_time_{localtime,utc} | -64/+0 | ||
| the correct approach is to keep it in time_t form as much as possible and apply transformations on that | ||||
| 2023-05-30 | remove warning from localtime | -1/+1 | ||
| 2023-05-13 | add ability to construct a tm from a dict | -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-13 | add TM_GMTOFF and TM_ZONE | -5/+62 | ||
| I might want to be able to write to them, but that seems very error-prone. | ||||
| 2023-05-13 | add shortcuts for *time(mktime) | -4/+76 | ||
| 2023-05-12 | big updates | -96/+93 | ||
| 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-12 | fix tm_from_dict year bug | -1/+1 | ||
| 2023-05-12 | rewrite | -0/+397 | ||
| Split it into multiple things. The new tests will actually reflect how you should use the native library. | ||||
