Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/travisstaloch/date-zig
Fast calendar algorithms ported to zig
https://github.com/travisstaloch/date-zig
zig-library zig-package
Last synced: about 2 months ago
JSON representation
Fast calendar algorithms ported to zig
- Host: GitHub
- URL: https://github.com/travisstaloch/date-zig
- Owner: travisstaloch
- License: apache-2.0
- Created: 2023-12-16T04:45:27.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-17T07:08:22.000Z (12 months ago)
- Last Synced: 2024-08-03T23:18:47.806Z (4 months ago)
- Topics: zig-library, zig-package
- Language: Zig
- Homepage:
- Size: 26.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-zig - travisstaloch/date-zig
README
# date-zig
A port of https://github.com/nakedible/datealgo-rs/ to zig.
datealgo-rs is based on https://github.com/cassioneri/eaf## Support
system time related related methods such as `datetime_to_systemtime()` and `systemtime_to_datetime()` currently only support posix based operating systems.everything else such as `rd_to_date()` and `date_to_rd()` should work on any target and platform.
## TODO
* wasm: `zig build test -Dtarget=wasm32-wasi -fwasmtime`
* windows: `zig build test -Dtarget=x86_64-windows -fwine`
* other non posix?