Commit graph

  • f73aeb7769 Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/epoch-rs into odin odin Nathan Fisher 2024-12-15 19:01:15 -05:00
  • 10faf03a0f Update deps Nathan Fisher 2024-12-15 19:00:58 -05:00
  • e1c975ba74 Adjust DateTime::now() by adding DateTimeError Nathan Fisher 2024-06-16 23:48:38 -04:00
  • ffea975527 Add DateTime::now method Nathan Fisher 2024-05-19 18:54:50 -04:00
  • 43f39fe226 Simplify some calculations Nathan Fisher 2024-02-09 10:59:09 -05:00
  • 559cfa3cb3 Add some docs Nathan Fisher 2024-02-09 00:24:04 -05:00
  • e2910695d2 Add tests for negative timestamps / DateTime before Unix Epoch Nathan Fisher 2024-02-09 00:03:24 -05:00
  • b3ea308997 Fix some logic errors (requires testing) Nathan Fisher 2024-02-08 19:06:49 -05:00
  • 9563b1da0d Make DateTime impl Copy Nathan Fisher 2024-01-30 20:57:36 -05:00
  • a440e730fa Make serde optional Nathan Fisher 2024-01-30 20:47:11 -05:00
  • c0def257fb Capitalize "UTC" when pretty-printing Nathan Fisher 2024-01-30 00:24:56 -05:00
  • 3594cfafdf Fix Weekday calculation to skip using TimeZone when converting DateTime to timestamp, so that the calculated weekday will match local time rather than UTC. Nathan Fisher 2024-01-30 00:22:52 -05:00
  • 0c77774f34 Add display methods for pretty print; TODO: Use naive conversion to timestamp when getting Weekday. Currently, since we convert to UTC the returned value is invalid if it is a different day in the offset timezone Nathan Fisher 2024-01-30 00:15:56 -05:00
  • 34edb7522d Add tests for ordering, conversion and formatting DateTime struct Nathan Fisher 2024-01-29 19:02:09 -05:00
  • 40470e1752 Initial commit Nathan Fisher 2024-01-29 10:58:27 -05:00