https://github.com/subsetpark/janet-dtgb
A grab-bag of functions related to dates and times for the Janet language.
https://github.com/subsetpark/janet-dtgb
janet
Last synced: 4 months ago
JSON representation
A grab-bag of functions related to dates and times for the Janet language.
- Host: GitHub
- URL: https://github.com/subsetpark/janet-dtgb
- Owner: subsetpark
- Created: 2020-11-30T14:17:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-21T17:11:07.000Z (almost 5 years ago)
- Last Synced: 2025-10-06T15:51:30.573Z (9 months ago)
- Topics: janet
- Homepage:
- Size: 31.3 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Janet Datetime Grab-Bag
This is not a date library. Those require design and work.
This is a grab-bag of functions that do things you might like a date
library to do. They have been added piecemeal and probably don't hang
together that well.
That said, there is one guarantee for any function in this module: if
it returns a struct representing a datetime, that struct's keys should
be the same as those returned by `(os/date)`, and their values should
be in the same range with the same semantics (for instance, number
values should be 0-indexed in all cases).x