Releases: tidepool-org/sundial
Releases · tidepool-org/sundial
v1.1.7
v1.1.6
v1.1.3
v1.0.0
First revision to sundial in preparation for introducing it as a tideline dependency.
This release introduces breaking changes. General changes of note:
- no public methods accept or return moment objects (use of moment.js sequestered within sundial with the eventual goal of no other Tidepool repositories including moment as a dependency)
- all methods that accept or return a timezone offset parameter have been standardized to speak in terms of timezone offsets in minutes from UTC
Detailed method changes:
getOffsetFromTime
used to return a timezone offset in minutes to UTC, now returns offset in minutes from UTCformatForDisplay
has been removed and replaced withformatFromOffset
andformatInTimezone
(usage will vary depending on context)formatForStorage
used to expect an offset to UTC, now expects an offset from UTCmomentInstance
has been removed