Skip to content

Releases: SpiritIT/timezonecomplete

Date-time string parsing improvements

16 Dec 23:35
Compare
Choose a tag to compare
  • Add more support for parsing date-time strings using different LDML patterns (see LDML formats)
    • Era
    • Quarters and stand-alone quarters
    • Month names and stand-alone month names
    • Day periods (am/pm/noon/midnight)
    • More hour formats (1-12, 0-11, 1-24)
    • More second formats
    • More fractional second formats
    • More time zone formats
  • Documented more LDML caveats
  • Era names can now be customized

LDML fixes & documentation

16 Dec 11:40
Compare
Choose a tag to compare
  • Fix for issue #35: AM/PM not parsed and formatted correctly
  • Fix for formatting of O and OOOO patterns which used 'UTC' instead of 'GMT'
  • Fix for formatting of ZZZZZ patterns which did not use 'Z' when appropriate
  • Allow setting locale in DateTime#parse()
  • Documented the LDML formats that we do and do not support
  • Changed copyright from Spirit IT to ABB because company has been acquired by ABB

DateTime#format() no longer throws

02 Dec 23:22
Compare
Choose a tag to compare
  • updated all (dev)dependencies
  • ensure that DateTime#format doesn't throw
  • improve code coverage
  • test against newer Node.JS versions

v5.4.4: more argument checks in DateTime constructor

23 Jan 21:12
Compare
Choose a tag to compare

v5.4.3: fix incompatibility with typescript 2.0

03 Jan 12:22
Compare
Choose a tag to compare

v5.4.2: upgrade typescript to 2.1.4, strict null checks

02 Jan 17:03
Compare
Choose a tag to compare

v5.4.1: bugfixes in Duration#equalsExact() and Period#equals().

14 Nov 14:51
Compare
Choose a tag to compare
v5.4.1: bugfixes in Duration#equalsExact() and Period#equals().

v5.4.0: add tzdata as a dependency

07 Nov 18:33
Compare
Choose a tag to compare
v5.4.0: add tzdata as a dependency.

Make it easier to get the standard offset without DST

07 Nov 18:12
Compare
Choose a tag to compare

v5.2.0: add Duration#divide() method that takes another Duration and outputs a unitless number.

06 Nov 21:34
Compare
Choose a tag to compare