-
Notifications
You must be signed in to change notification settings - Fork 14
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
BC-4623-Creation time and update time of status messages #2786
Conversation
1d8842f
to
40bf0ab
Compare
9c02646
to
c3a0881
Compare
51eaf42
to
882e7b5
Compare
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.
FYI we are working on a date picker, and display the date in vue, where we used localised date formats. We cannot / should not use diferent date formats - but this seems to be the only exception
I think you should not have to hard-code this labels, but use the dayjs plugin internationalization....It should handle the text by itself. |
ac94092
to
af91f56
Compare
c882876
to
8ae669c
Compare
23a51c0
to
ae50eec
Compare
SonarCloud Quality Gate failed. 0 Bugs 100.0% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Short Description
Links to Ticket and related Pull-Requests
https://ticketsystem.dbildungscloud.de/browse/BC-4623
Changes
Added functinalities to update the date format to present the update and created according those requierments:
From 1 to 59 minutes - display "updated [...] minutes ago | created [...] minutes ago". If value=1, the word "minute" is in singular.
From 1 hour to 23h 59min - display "updated [...] hours ago | created [...] hours ago". If the value=1, the word "hour" is in singular.
From 1 to 6d 23h 59min days - display "updated [...] days ago | created [...] days ago". If value=1, the word "day" is in singular.
From 7 days and more - display the date of update in European format | date of creation in European format. For example updated 28.07.2023 | created 21.07.2023 or created 21.07.2023.
The update time is displayed first, then the creation time. The creation time is always displayed, the update time is displayed if there was an update.
Data-security
Deployment
New Repos, NPM packages or vendor scripts
Screenshots of UI changes
<!
-->
Checklist before merging