© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Inquiry About Missing `Duration` Conversion APIs and Parts - Effect Community
EC
Effect Community
•
2y ago
•
16 replies
Gibbs
Inquiry About Missing `Duration` Conversion APIs and Parts
I
've saw that some conversion APIs have been added recently to
Duration
Duration
Any reason why
toMonths
toMonths
or
toYears
toYears
has not been added
?
Also
, in the
parts
parts
, it
's missing
weeks
weeks
whereas
toWeeks
toWeeks
exists
.
Just asking because I wonder if there is any good reason to not doing it before I open a PR
.
.
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Inquiry about Typesafe RenameKeys with @Effect
EC
Effect Community / data
3y ago
Free Monad Inquiry
EC
Effect Community / data
3y ago
Missing `$is` and `$match` in `Data.taggedEnum` with Generics
EC
Effect Community / data
2y ago
Question about `Struct.evolve` and Type Widening Prevention
EC
Effect Community / data
5mo ago