Aman-Mittal opened a new issue, #580:
URL: https://github.com/apache/fineract-backoffice-ui/issues/580

   The same concept — a timestamp — is rendered three different ways depending 
on which module you are in, and none of the three follow the selected language.
   
   ## Observed
   
   | Module | Column / field | Rendered as |
   |---|---|---|
   | System → Scheduler Jobs | Next Run | `2026-09-22T06:01:00Z` |
   | Security → Audit Logs | Date | `Sep 21, 2026, 9:12:02 PM` |
   | Clients → detail | Activation Date, Timeline (Submitted) | `9/21/2026` |
   
   Three formats for one concept in one product. The Scheduler Jobs one is raw 
ISO-8601 straight from the API, including the trailing `Z`, presented to an 
operator as-is. The Clients one is ambiguous outside the US — `9/21/2026` is 
unreadable as a date in most of the locales this product ships translations 
for, and reverses meaning wherever `D/M/YYYY` is the convention.
   
   Switching the UI to Hindi changes none of them.
   
   ## Why this one is worth doing properly
   
   This is core banking: a date that reads `9/21/2026` in one place and `Sep 
21, 2026` in another invites transcription errors, and the ISO form with a `Z` 
raises a question the screen does not answer — whether the time shown is UTC or 
the tenant's. That question is already live in #358, which covers dates being 
interpreted in the browser's timezone rather than the tenant's, so the display 
format and the timezone story are worth settling together.
   
   ## Suggested fix
   
   - Standardise on the Audit Logs form (`Sep 21, 2026, 9:12:02 PM`) — it is 
unambiguous and already in use.
   - Route every date through one shared pipe rather than per-component 
formatting, so there is a single place to change it.
   - Have that pipe respect the active locale, so switching language changes 
dates with everything else.
   - Make the timezone explicit wherever a time-of-day is shown, rather than 
leaving a bare `Z` on screen.
   
   ## Reproduction
   
   1. Sign in.
   2. Visit **System → Scheduler Jobs** (Next Run), **Security → Audit Logs** 
(Date), and any client detail screen.
   3. Compare the three; then switch the language to Hindi and compare again.
   
   ## Tested against
   
   Deployed build of `main`, Chrome, 1440x900.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to