Hey all! I'm excited to announce the Roc-IsoDate package! :package: :rocket: This is a Roc package for parsing ISO-8601 Date/Time strings into the Utc
type provided by the basic-cli and basic-webserver platforms.
As of today, the package has full support for all ISO standard date, time, and date-time strings. Time intervals are not yet supported, but are the next planned stage in development. If anyone has any thoughts, suggestions, or feedback of any kind, let me know!
It will be nice when platforms can depend on packages directly. Then you won't have to reimplement the opaque utc type.
Instead it will be:
Everything happening with a shared type and single place for updates.
Yeah, that will definitely streamline things a lot! right now we have copies of the Utc code in all 3 repositories, which is definitely less than ideal.
great work @Ian McLerran, this is awesome!!! :smiley:
Added to roc-awesome :heart:
Fantastic, thanks, @Luke Boswell! :star_struck:
It will be nice when platforms can depend on packages directly.
I wasn't aware of this limitation, what's the blocker there?
There's a bug which makes it not possible rn. Should be fixed with module params rewrite.
I thought we had an issue for it, I had a quick look and haven't found it. I thought Agus raised it.
yeah the bug is that in general only applications can depend on packages; there's a compiler crash if non-applications try to do it
Last updated: Jul 06 2025 at 12:14 UTC