-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zone and Era for package developers #8
Comments
To piggy-back on this, I'm looking to write an encoder for the |
I'm totally blocked on this. I tried to create an internal zone representation that is the same to the one on this library
but I cannot create a function like this:
that takes a Zone from Time and convert it to the internal representation. Am I totally blocked without exposing the |
I'm writing a library based on this new time api: https://github.com/AdrianRibao/elm-derberos-date
So far it's ok and all tests pass (101 at the moment) but I still haven't introduced the zones in the functions. To do that, I need to adjust the posix time. I was going to copy the code from this library:
but I have two problems:
Era
is not exposed in the moduletoAdjustedMinutes (Zone defaultOffset eras) time =
because I don't have aZone
constructorIs it possible to expose
Era
and aZone
so I don't have to copy them in the library?The text was updated successfully, but these errors were encountered: