mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #1703] Add en_CA locale for Canadian English #1698
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#1698
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?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/1703
Author: @usefulish
Created: 4/14/2026
Status: 🔄 Open
Base:
main← Head:patch-1📝 Commits (1)
4b5e5b4Add en_CA locale for Canadian English📊 Changes
1 file changed (+0 additions, -0 deletions)
View changed files
📝
web/public/static/langs/en_CA.json(+0 -0)📄 Description
The ntfy web UI formats dates using Intl.DateTimeFormat(i18n.language). This means locale subtags (like en-CA) already produce correct regional date formats without any additional logic.
Currently, only en is shipped, so browsers set to en-CA fall back to en, resulting in US-style MM/DD/YYYY dates.
Adding en_CA.json allows users with en-CA browsers (or those selecting it manually) to get the correct YYYY-MM-DD date format automatically.
This change:
• does not modify any application logic
• does not affect existing English (en) users
• simply adds a locale file (currently identical to en.json)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.