-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Localize Date and Time translations using AM/PM #5748
fix: Localize Date and Time translations using AM/PM #5748
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/dskcvxisg |
Codecov Report
@@ Coverage Diff @@
## development #5748 +/- ##
===============================================
- Coverage 23.50% 23.45% -0.06%
===============================================
Files 512 511 -1
Lines 5445 5449 +4
Branches 63 63
===============================================
- Hits 1280 1278 -2
- Misses 4149 4155 +6
Partials 16 16
Continue to review full report at Codecov.
|
Thank you. Could you change the following, please:
|
@mariobehling |
We won't be able to change 0:00 to 24:00, that is controlled by moment JS AFAIK |
exactly |
I think there will be conflicting changes in this PR and standardize PR, please work with @maze-runnar to finalize that PR and then work on this PR |
@iamareebjamal Pls see the changes, improved the format wherever not standardized, and also replaced everything with general-date. |
This reverts commit 70f296c.
@iamareebjamal This is done now with all the changes said by you. |
@@ -12,9 +12,9 @@ | |||
<div class="ui padded segment"> | |||
<strong>{{t 'At'}} {{this.event.locationName}}</strong> | |||
<br> | |||
<strong>{{t 'From'}}:</strong> {{header-date this.event.startsAt}} | |||
<strong>{{t 'From'}}:</strong> {{general-date this.event.startsAt '' 'dddd, D MMMM, YYYY h:mm A'}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember, was this the standard format which was chosen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I found in #5747 is that at some places still time format is not standardized like format is not consistent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a Pr to fix that as well
Fixes #5491
Short description of what this resolves:
Time format is changed to 24hr clock whose languages are not supported by moment
Changes proposed in this pull request:
Checklist
development
branch.