imclerran / roc-isodate

A Roc package for parsing ISO Date/Time strings. 📆⏰📦

Home Page:https://www.imclerran.com/roc-isodate/

Repository from Github https://github.comimclerran/roc-isodateRepository from Github https://github.comimclerran/roc-isodate

Package `Utc` type conflicts with platform `Utc` type, making it unusable.

imclerran opened this issue · comments

Package should remove Utc and UtcTime and simply provide nanoseconds in its API.

Conversion between the types can then be done with:

  • DateTime.toNanosSinceEpoch |> Utc.fromNanosSinceEpoch and
  • Utc.toNanosSinceEpoch |> DateTime.fromNanosSinceEpoch

using the platform provided Utc functions.

Pull request #17 resolves this issue.