Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter farngard

    (@farngard)

    Solved, can be closed.

    Solution: The date format in wordpress settings was set to j. F Y
    I just set it to costumized format d.m.y and the sorting worked.

    Can be closed.

    Thread Starter farngard

    (@farngard)

    Well i still try to solve it myself, but at least i think now why i got the sorting issue. It seems like wordpress/woocommerce stops the sorting process after the first 2 numbers of the List. From what i can see it does do a sorting, but its based on only on the first 2 numbers. It looks like:

    01.02.2023
    01.08.2023
    02.05.2023
    02.10.2023
    02.11.2023
    03.04.2023
    03.07.2023

    Not sure it has something to do with the punctuation we use in the EU to write down a date. So i guess i would need to find a way that the sorting counts all numbers into that process? At least i guess that would solve it. But if anybody got an good idear, i would still be very thankfull.

    Okay little update, i changed the Format to:

    DD/MM/YYYY

    Now that does Woocommerce recognize to sort it excatly like i want… but honestly, i don′t want the / format for my dates, i would really prefer the . for my date formats.

    • This reply was modified 2 years, 6 months ago by farngard.
Viewing 2 replies - 1 through 2 (of 2 total)