You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is Data.Time.Duration and also Data.Interval.Duration and I wonder what the difference is. Data.Time.Duration is used for functions like adjust and diff, while Data.Interval.Duration seems to be mostly about parsing and formatting of ISO8601 durations? Is one of them deprecated? Is there a conceptual difference that I fail to see?
Is there a way to format durations in a human-readable fashion? E.g. neither "643257 milliseconds" nor "0,051 days" but in a multi-unit format like "2 days, 15h, 45min"? (this is probably related to purescript formatters, but the calculation might belong to this package)
I realized that the documentation in Pursuit is not up-to-date (the latest version is 3.2.0). Could somebody please update it?
There is
Data.Time.Durationand alsoData.Interval.Durationand I wonder what the difference is.Data.Time.Durationis used for functions likeadjustanddiff, whileData.Interval.Durationseems to be mostly about parsing and formatting of ISO8601 durations? Is one of them deprecated? Is there a conceptual difference that I fail to see?Is there a way to format durations in a human-readable fashion? E.g. neither "643257 milliseconds" nor "0,051 days" but in a multi-unit format like "2 days, 15h, 45min"? (this is probably related to
purescript formatters, but the calculation might belong to this package)I realized that the documentation in Pursuit is not up-to-date (the latest version is 3.2.0). Could somebody please update it?