Releases: imclerran/roc-isodate
v0.5.2
What's Changed
- Update to new Str and List splitting functions by @isaacvando in #30
New Contributors
- @isaacvando made their first contribution in #30
Full Changelog: v0.5.1...v0.5.2
v0.5.1
v0.5.0
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
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
What's Changed
- add Example.roc by @imclerran in #15
- Remove the Utc and UtcTime types by @imclerran in #17
- Update example to avoid bug in the roc compiler by @imclerran in #19
- Refactor example to use a clearer logic flow by @imclerran in #20
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- Add Date, Time, and DateTime support by @imclerran in #14
Full migration to the new API
- This is a breaking change! The IsoToUtc module has been removed in favor of
fromIsoStr
andfromIsoU8
functions in the Date, Time, and DateTime modules. - To get a
Utc
result, use the fromIsoStr or U8 functions, then calltoUtc
. This applies equally to Date, Time (toUtcTime
), and DateTime.
Full Changelog: v0.2.2...v0.3.0
v0.2.2
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
What's Changed
- remove all uses of deprecated 'Nat' type by @imclerran in #5
- Add Date, Time, and DateTime types. by @imclerran in #7
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
.
- Convert to and from
-
Time
type:- Convert to and from
UtcTime
.
- Convert to and from
-
DateTime
type:- A wrapper for a
Date
and aTime
. - 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 - A wrapper for a
v0.2
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