roc-lang / basic-webserver

A basic webserver in Roc

Home Page:https://roc-lang.github.io/basic-webserver/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utc implementation does not support dates prior to epoch.

imclerran opened this issue · comments

Utc does not currently support dates prior to epoch

This means that simple integer comparison with any date prior to 1970 is impossible using Utc. This also means that any library which attempts to parse ISO 8601 date strings to the Utc type will not be able to support the full range of ISO standard dates. Converting Utc from unsigned to signed integer will resolve this issue.

Opening an issue and PR for this as discussed on Zulip chat.