Y
Hacker News
new
|
ask
|
show
|
jobs
by
gg2222
239 days ago
Unrelated to the topic, but wow, they're still using moment? I thought it was kind of deprecated and been trying to use other libs.
1 comments
dotandimet
239 days ago
I think most of the complaints about moment are that it's really big (because of i18n and timezones). Obsidian isn't a web page/app, so it doesn't need to optimize bundle size too much.
link
ohthatsnotright
239 days ago
It's unexpectedly mutable unless you've closely read the documentation, been bitten by the mutations, or are doing very simple date manipulations.
It's a great library, but it does need fewer footguns. date-fns is a good alternative.
link