time icon indicating copy to clipboard operation
time copied to clipboard

A simplified approach to working with dates, times, and time zones.

Results 23 time issues
Sort by recently updated
recently updated
newest added

It is annoying to have to convert back yourself if you don't want the enum variant (which I assume is not uncommon).

I wasn't 100% sure based on the existing docs whether this was intended to be analagous to toHour, toMinute, etc, or if it just converted to posix time in seconds....

This library does not handle leap seconds, and is based on an incorrect understanding of Unix time. Therefore I think it's not usable as the core time library for Elm....

Using `Time.getZoneName` in ie11 results in an invalid state for `ZoneName`. Instead of falling back to the timezone offset, it holds undefined in the `Name` variant. The kernel code seems...

Time.Posix is defined as type Posix = Posix Int where the integer field is in milliseconds since Jan. 1, 1970. However, the language documentation for Int states that "Int math...

It is my understanding that references to kernel functions in other files should begin with a double underscore and they should be imported at the top of the file. Otherwise,...

Time.here produces a timezone with fixed offset. Since time zones are only required when formatting times for humans this is useless for all values other than "right now", because we...

Currently, there only is a `Time.millisToPosix`. This means that when for instance a server-side application exposes a timestamp _already in POSIX format_, that the only way to convert them to...

**Description:** In short, `Time.every` has a very different behaviour than `setInterval`, subscriptions to an equal amount of time (i.e, the first argument of the function) get bundled together instead of...