Releases: nerves-time/nerves_time
Releases · nerves-time/nerves_time
v0.4.8
v0.4.7
v0.4.6
v0.4.5
- New feature
- Support blocking NervesTime startup until initialized with a valid time.
See Startup doc and
NervesTime.Waiter
for more info (thanks @LostKobrakai ❤️)
- Support blocking NervesTime startup until initialized with a valid time.
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0
-
New features
- Added
NervesTime.RealTimeClock
behaviour to support external RTC
implementations. The default RTC is still FileTime. I.e., approximate an RTC
by periodically updating the modified time on a file and reading it back at
boot. See https://github.com/nerves-time for
example RTC implementations.
- Added
-
Bug fixes
NervesTime.synchronized?/0
will stay true once NTP synchronizes. It will
not revert to false unless a crash happens and the NTP code restarts. This
should address some confusion, since in practice the function was being used
to check whether the system time could be used. Bouncing the answer between
true and false depending on ntp reports was confusing since the system time
had already been set once and was plenty close to the real time.