top | item 45618677 (no title) gg2222 | 4 months 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. discuss order hn newest dotandimet|4 months 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. ohthatsnotright|4 months 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.
dotandimet|4 months 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. ohthatsnotright|4 months 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.
ohthatsnotright|4 months 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.
dotandimet|4 months ago
ohthatsnotright|4 months ago
It's a great library, but it does need fewer footguns. date-fns is a good alternative.