Is there any interest in the DateTime class as a package? #2397
Closed
Eonasdan
started this conversation in
Request for comment
Replies: 1 comment 2 replies
-
What features are you focusing on? Do you think this package would really be novel? E.g. would it combine enough features of moment/dayjs/etc. that are commonly needed by other projects to make it worthwhile? Or do you think it would really only serve TD's use case? Generally I support small libraries that do specific things well but date/time/i18n/l10n stuff can get so complex so fast. The maintenance burden could definitely be risky. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a tiny date time class that extends the native Date object. It provides a subset of features that moment/dayjs/etc. and helps keep the size of the library smaller. However, as I work to integrate v6 into one of my personal projects, I see that it could be useful on its own. Rather then export all of the bits in the date time class, I was wondering if I should break it out into its own package.
The downside to this is that there's a new dependency and that could lead to increased maintenance complexity that is not currently an issue.
Beta Was this translation helpful? Give feedback.
All reactions