[PR #1623] feat(web): add configurable datetime format preference #1669

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

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1623
Author: @scarf005
Created: 2/24/2026
Status: 🔄 Open

Base: mainHead: feat/1507/option-datetime-format


📝 Commits (4)

  • c97ff39 feat(web): add datetime format preference model and formatters
  • 871018c feat(web): apply datetime format preference across UI
  • 605566a feat(i18n): add English labels for datetime format setting
  • 09a8b3e fix(web): harden datetime preference and locale usage

📊 Changes

8 files changed (+105 additions, -21 deletions)

View changed files

📝 web/public/static/langs/en.json (+5 -0)
📝 web/src/app/Prefs.js (+17 -0)
📝 web/src/app/utils.js (+22 -6)
📝 web/src/components/Account.jsx (+8 -4)
📝 web/src/components/Notifications.jsx (+13 -6)
📝 web/src/components/Preferences.jsx (+28 -1)
📝 web/src/components/SubscriptionPopup.jsx (+8 -3)
📝 web/src/components/UpgradeDialog.jsx (+4 -1)

📄 Description

Summary

Resolves #1507

Testing

image

related: https://github.com/binwiederhier/ntfy-android/pull/162


🔄 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/1623 **Author:** [@scarf005](https://github.com/scarf005) **Created:** 2/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/1507/option-datetime-format` --- ### 📝 Commits (4) - [`c97ff39`](https://github.com/binwiederhier/ntfy/commit/c97ff390adc9c012b70116c84e655b1e6c3acdda) feat(web): add datetime format preference model and formatters - [`871018c`](https://github.com/binwiederhier/ntfy/commit/871018c92018e3afce6f22f2fa896f0b50856086) feat(web): apply datetime format preference across UI - [`605566a`](https://github.com/binwiederhier/ntfy/commit/605566a8b376a3b9f1ae01281c57207d4ecf1111) feat(i18n): add English labels for datetime format setting - [`09a8b3e`](https://github.com/binwiederhier/ntfy/commit/09a8b3e2f3199358201ab6b2f43658651de51840) fix(web): harden datetime preference and locale usage ### 📊 Changes **8 files changed** (+105 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `web/public/static/langs/en.json` (+5 -0) 📝 `web/src/app/Prefs.js` (+17 -0) 📝 `web/src/app/utils.js` (+22 -6) 📝 `web/src/components/Account.jsx` (+8 -4) 📝 `web/src/components/Notifications.jsx` (+13 -6) 📝 `web/src/components/Preferences.jsx` (+28 -1) 📝 `web/src/components/SubscriptionPopup.jsx` (+8 -3) 📝 `web/src/components/UpgradeDialog.jsx` (+4 -1) </details> ### 📄 Description ## Summary Resolves #1507 ## Testing <img width="1279" height="1326" alt="image" src="https://github.com/user-attachments/assets/7fca4931-4539-43f1-8ba1-6aa16ac5204d" /> related: https://github.com/binwiederhier/ntfy-android/pull/162 --- <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#1669
No description provided.