mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-26 07:53:16 +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