-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Creation date format #38552
Comments
@MartijnMaandag I don't get that. The |
Well, 2022-08 is the right month and accurate, 2022-08-01 is not the right date and not accurate, this is confusing. I don't know why they changed this from 4.1 to 4.2. |
its a bug! |
The pull request creating this was #27162 There is a very long discussion there regarding this |
The date format "does not know how" to read such a "truncated" date - for example, 2022-08. It converts it to DATE_FORMAT_LC4. For example, go to the |
It is not only the language-packs, we could change them. All core extensions do have the same. |
did you not read the discussion and pr I linked to #27162 |
Yes, but my first statement that it is confusing is still there. |
It's obvious. An XML file is a data storage format. I repeat this is the data format. XML tags can store any type of data. If only the "CreationDate" tag is a text type, then the format of this tag is obvious, but if the "creation Date" tag is a date type, then this implies the format in ISO. If we remember that XML is a data format, and XML is not a text document of articles. XML is a data warehouse, just like SQL is a data warehouse. The difference is that SQL is data processing and storage, and XML is just data storage. We store data in SQL in ISO format. Maybe we will store data in SQL in the "Nov 2022" format? Word and Excel documents store their data in XML. But the contents of the file is a data format, and the text on the Word, Excel screen is a text format. If an Excel cell shows the date in the format "Nov 2022", it does not mean that the data is stored in the same way in the file. If we draw an analogy, then XML is similar to XLSX content, and a website page is similar to an Excel page. It seems to me that there is no reason to even argue. Data should always be stored in a format of its own type. |
Steps to reproduce the issue
I was testing the installation of the Dutch translation package for Joomla 4.2.1 (on a Joomla 4.2.0 site).
Some time ago the creation date in the Translation changed into YYYY-MM, nothing wrong with this, I use this in the translation.
Now I notice that the display in the extension list is changed from YYYY-MM (4.1.x) into YYYY-MM-DD (4.2.x).
This is confusing, if there are two releases in one month (4.2.x) they will have the same time-stamp (2022-08-01) and not 2022-08 like it was, which is less exact.
Attached the screenprints.
Expected result
It is better to have YYYY-MM
Actual result
System information (as much as possible)
J4.2
Additional comments
The text was updated successfully, but these errors were encountered: