advent-of-code-api v0.2.7.0 Release Notes
Release Date: 2019-12-04 // over 4 years ago-
December 4, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.7.0
- Throughout the library, change from
UTCTime
toZonedTime
, except for situations where the official site uses actual UTCTime. The main change is inchallengeReleaseTime
. -
challengeReleaseTime
moved to Advent.Types but re-exported from Advent. -
dlbmTime
changed fromUTCTime
toNominalDiffTime
dlbmDecTime
, which is time from December 1st. This is because we don't have information about the year from the HTML returned alone. This fixes a bug where the time would always be in 1970. - To convert
dlbmDecTime
back into a useful time,addeddlbmCompleteTime
to get the actual time of completion (as aZonedTime
), anddlbmTime
to get theNominalDiffTime
representing how long the challenge took.
- Throughout the library, change from