neodate

Crates.ioneodate
lib.rsneodate
version0.2.0
created_at2025-05-17 08:28:50.741533+00
updated_at2025-05-22 04:20:26.744181+00
descriptionGregorian to Neopian date converter
homepagehttps://git.sr.ht/~sinza/neodate
repositoryhttps://git.sr.ht/~sinza/neodate
max_upload_size
id1677721
size39,387
sinza (retrosinza)

documentation

README

neodate

neodate is a CLI tool that converts from Gregorian dates to Neopian dates. Thankfully, the Neopian calendar is basically identical to the Gregorian Calendar. However, there are different month names as well as a different year scheme.

It is inspired by ddate, an optional component of util-linux, as well as sdate.

I wrote it mostly to learn Rust. I'm used to typed languages (TypeScript) being annoying. That being said, I was a worse programmer when I used TypeScript compared to now, and I find Rust to be an excellent language. It has the best package management I've seen in a language, as well as a nice compiler and a nice LSP.

License

neodate is availale under the terms of the Apache License, Version 2.0. See LICENSE.txt for more information.

Usage

$ neodate 
The 21st of Hunting, Y27
$ neodate -n
The 21st of Hunting, Y27
$ neodate 27 11 2001
The 27th of Storing, Y3
$ neodate -n 27 11 2001
The 27th of Storing, Y3
$ neodate 10 12 1997
The 10th of Celebrating, Y-2
$ neodate -n 10 12 1997
The 10th of Celebrating, Y-2

Virtu.pet

$ neodate -v
The 21st of Hunting, Y4
$ neodate -v 17 9 2024
The 17th of Gathering, Y3
$ neodate -v 19 2 2019
The 19th of Awakening, Y-3

Documentation

You can get the documentation by reading the man file.

Other Neoclones?

I don't know how dates and times work for Grundo's Cafe or noderneopets. If you are a player of either of those games, feel free to let me know what the offsets are or provide a patchset!

Commit count: 0

cargo fmt