Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Galina 44 posts 258 karma points
    Dec 24, 2015 @ 08:41
    Galina
    0

    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

  • Alexander Bryukhov 19 posts 68 karma points c-trib
    Dec 28, 2015 @ 17:12
    Alexander Bryukhov
    100

    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 :-)

  • Galina 44 posts 258 karma points
    Jan 11, 2016 @ 06:39
    Galina
    0

    Thank you, Alexander

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies