[PR #1703] Add en_CA locale for Canadian English #1698

Open
opened 2026-05-07 01:03:17 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1703
Author: @usefulish
Created: 4/14/2026
Status: 🔄 Open

Base: mainHead: patch-1


📝 Commits (1)

  • 4b5e5b4 Add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/binwiederhier/ntfy/pull/1703 **Author:** [@usefulish](https://github.com/usefulish) **Created:** 4/14/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`4b5e5b4`](https://github.com/binwiederhier/ntfy/commit/4b5e5b434ceb51bbc2314bdaccd16fcc9ce645f9) Add en_CA locale for Canadian English ### 📊 Changes **1 file changed** (+0 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `web/public/static/langs/en_CA.json` (+0 -0) </details> ### 📄 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1698
No description provided.