mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #475] Format Date per user locale #361
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#361
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @omar2205 on GitHub (Nov 8, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/475
To have the date as
11/8/22, 2:58 PMis very American. Can you please convert it to user locale? or an option in settings@binwiederhier commented on GitHub (Nov 8, 2022):
In the Android app? It should be using the user locale. Or are you talking about the web app?
@omar2205 commented on GitHub (Nov 9, 2022):
Yeah the web app
@binwiederhier commented on GitHub (Nov 27, 2022):
@omar2205 So I checked the code and message dates are formatted using https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat, in this function:
The docs say that using
defaultis using the browser's default locale. I tested this by switching my Firefox to German, and the date format switched to the German date format as well.@omar2205 Can you elaborate what browser you are using, and what your language settings in the browser are? Maybe show screenshots?
@omar2205 commented on GitHub (Nov 27, 2022):
I was hoping for an option in the settings to change the format.
@KhaaL commented on GitHub (Jan 22, 2024):
Hi! I see this is implemented via https://github.com/binwiederhier/ntfy/issues/700 - but I see no setting to adjust the date format on the webapp on ntfy.sh. Is this feature only visible for self-hosted versions? There is no mention of this feature beyond the release notes for v. 2.7.0