How to extend or correct a mistake in sorting by date?
Hello.
I saw a little bug in sorting by date.
I want to sort media by creation date. The language culture (~/umbraco/Config/Lang/ru.xml, <language alias="ru" intName="Russian" localName="русский" lcid="" culture="ru-RU"> )
In this culture the date format is: dd.mm.yyyy hh:mm
There is no such format in umbraco_client/Dialogs/SortDialog.js
That is why date sorting is wrong.
For example:
20.01.2015 17:40
20.01.2015 17:19
20.01.2015 17:16
20.01.2015 17:22
(by greater date to less)
Of course I can use culture "en-US' or "en-GB", it's work perfect. But it would be wonderful to use native russian culture.
What should I do? Can I extend cultureDateParser from SortDialog.js? I'm afraid if I change SortDialog.js , next umbraco update replace it to canonical version.
How to extend or correct a mistake in sorting by date?
Hello.
I saw a little bug in sorting by date. I want to sort media by creation date. The language culture (~/umbraco/Config/Lang/ru.xml, <language alias="ru" intName="Russian" localName="русский" lcid="" culture="ru-RU"> ) In this culture the date format is: dd.mm.yyyy hh:mm
There is no such format in umbraco_client/Dialogs/SortDialog.js That is why date sorting is wrong.
For example:
20.01.2015 17:40
20.01.2015 17:19
20.01.2015 17:16
20.01.2015 17:22
(by greater date to less)
Of course I can use culture "en-US' or "en-GB", it's work perfect. But it would be wonderful to use native russian culture.
What should I do? Can I extend cultureDateParser from SortDialog.js? I'm afraid if I change SortDialog.js , next umbraco update replace it to canonical version.
P.s. sorry for my bad english
Galina,
I've created a new issue for this http://issues.umbraco.org/issue/U4-7616 with this pull-request https://github.com/umbraco/Umbraco-CMS/pull/982.
Hope it will be merged into the 7.4 release :-)
Thank you, Alexander
is working on a reply...