Skip to content

Releases: imclerran/roc-isodate

v0.5.2

02 Dec 19:36
8dbdfcf
Compare
Choose a tag to compare

What's Changed

  • Update to new Str and List splitting functions by @isaacvando in #30

New Contributors

Full Changelog: v0.5.1...v0.5.2

v0.5.1

16 Oct 06:06
fff5d40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.5.1

v0.5.0

26 Aug 20:41
76b88fd
Compare
Choose a tag to compare

Big thanks to @ageron for removing backpassing and updating to new Result.try ? syntax sugar!

What's Changed

  • Update all modules to new header syntax. by @imclerran in #22
  • Update examples to user new header and update syntax. by @imclerran in #23
  • Remove <- backpassing and upgrade to basic-cli 0.14 by @ageron in #25

New Contributors

Full Changelog: v0.4.1...v0.5.0

v0.4.1

07 May 05:35
f0b741f
Compare
Choose a tag to compare

What's Changed

  • Add example which parses an ISO string from the network by @imclerran in #21
  • Fix missing export of DateTime type in DateTime.roc by @imclerran in #21

Full Changelog: v0.4.0...v0.4.1

v0.4.0

30 Apr 02:07
2328ae5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

26 Apr 19:35
2ee7330
Compare
Choose a tag to compare

What's Changed

Full migration to the new API

  • This is a breaking change! The IsoToUtc module has been removed in favor of fromIsoStr and fromIsoU8 functions in the Date, Time, and DateTime modules.
  • To get a Utc result, use the fromIsoStr or U8 functions, then call toUtc. This applies equally to Date, Time (toUtcTime), and DateTime.

Full Changelog: v0.2.2...v0.3.0

v0.2.2

19 Apr 16:26
8a06b65
Compare
Choose a tag to compare

What's Changed

  • Refactor Date type to include month and dayOfMonth fields by @imclerran in #10

Expanded the definition of the Date type to include additional fields which may be commonly wanted by the user.

The type signature of Date has been changed as follows:

# Old date type:
Date: { year: I64, dayOfYear: U16 }

# Updated date type:
Date: { year: I64, month: U8, dayOfMonth: U8, dayOfYear: U16 }

Full Changelog: v0.2.1...v0.2.2

v0.2.1

18 Apr 21:35
95cb439
Compare
Choose a tag to compare

What's Changed

Newly added types, in preparation for additional parsing functionality. These types are designed to be a more human friendly date representation than the Utc / UtcTime types. They each include various constructors, and can be converted to and from the Utc types.

  • Date type:

    • Convert to and from Utc.
  • Time type:

    • Convert to and from UtcTime.
  • DateTime type:

    • A wrapper for a Date and a Time.
    • Convert to and from Utc.

    This work brings the library closer to becoming a universal Date/Time library, as it now includes numerous helpful types for working with dates, including both computer friendly and human friendly date and time types, and the functionality to convert back and forth between them.
    Full Changelog: v0.2...v0.2.1

v0.2

02 Feb 00:06
Compare
Choose a tag to compare

What's Changed

  • Added support for time representations, including:
    • All basic local time formats
    • Fractional time formats
    • UTC offset time formats
  • Added support for date/time representations.

Full Changelog: v0.1...v0.2