Mickey7@lemmy.world to Lemmy Shitpost@lemmy.world · 1 month agoA funny thing about Americans and calendar dateslemmy.worldimagemessage-square103linkfedilinkarrow-up1718arrow-down155
arrow-up1663arrow-down1imageA funny thing about Americans and calendar dateslemmy.worldMickey7@lemmy.world to Lemmy Shitpost@lemmy.world · 1 month agomessage-square103linkfedilink
minus-squareOsan@lemmy.worldlinkfedilinkarrow-up1·1 month agoRTL invert characters are just for rendering purposes it doesn’t help with sorting also in older systems sometimes it was not supported.
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up0·1 month agoBut if you type it as “[RTL invert]yyyy/mm/dd” it is automatically sorted correctly in ltr parsing systems but still displayed correctly (assuming it is supported which it seems to be on most devices nowadays).
minus-squareOsan@lemmy.worldlinkfedilinkarrow-up1·1 month agoYou want it displayed as “yyyy/mm/dd” so it’s actually “[RTL]dd/mm/yyyy”
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up1·1 month agoAh, I read the original comment backwards.
RTL invert characters are just for rendering purposes it doesn’t help with sorting also in older systems sometimes it was not supported.
But if you type it as “[RTL invert]yyyy/mm/dd” it is automatically sorted correctly in ltr parsing systems but still displayed correctly (assuming it is supported which it seems to be on most devices nowadays).
You want it displayed as “yyyy/mm/dd” so it’s actually “[RTL]dd/mm/yyyy”
Ah, I read the original comment backwards.