mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-15 02:08:01 +08:00
58a4a9518a
Change the implementation, in the way that mismatch in return type of the from/to_sys/utc functions (not returning time_point, or returning time_point with inappropriate clock) leads to hard error. Added appropariate fail test for to_sys function, including: * returning an int * returning time_point of wrong clock * reutrning reference to time_point