7 releases

0.2.3 Sep 30, 2023
0.2.2 Sep 3, 2023
0.2.1 Aug 29, 2023
0.1.2 Oct 29, 2022
0.1.0 Aug 29, 2022

#162 in Date and time

42 downloads per month
Used in greg-tz

GPL-3.0-or-later

100KB
2K SLoC

greg

clueless

hmm.. today i will write my own datetime library


lib.rs:

Simple Date & Time library

Organized into two categories: real / physical time dealing only in seconds and the more abstract calendar time dealing with dates, time-of-day and time zones as understood by humans.

Note that for the time being this library only operates at the precision of a full second -- this is more convenient to work with, but it is far too imprecise for many applications.

Other notable caveats include:

  • no strftime type formatting (only YYYY-MM-DD and hh:mm:ss provided)
  • no locale support
  • no leap second support

Dependencies

~0–3.5MB
~66K SLoC