notquiteamonad / date_time

date_time is a high-level Rust library for use in situations where precision beyond seconds is not necessary.
Apache License 2.0
8 stars 5 forks source link

Methods to get current date don't always work #28

Closed notquiteamonad closed 5 years ago

notquiteamonad commented 5 years ago

Due to differences in seconds in a year and month by month, these sometimes produce invalid values. Will be fixed as part of #26 using the new to_days and from_days helpers.