Use js Intl api instead of date-fns format #1884
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1884
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The ECMAScript Internationalization API can replace a lot of parts maybe even everything of date-fns and has good support.
Can it do things like "two hours ago"?
Yes with RelativeTimeFormat. It's a really good api! They basically try to undo the fuckup they did with the normal js date =)
Ohhh right, I remember having read something about this. Finally no more months starting at 0!
Looks great!