Mickey7@lemmy.world to Lemmy Shitpost@lemmy.world · 8 days agoA funny thing about Americans and calendar dateslemmy.worldimagemessage-square60fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageA funny thing about Americans and calendar dateslemmy.worldMickey7@lemmy.world to Lemmy Shitpost@lemmy.world · 8 days agomessage-square60fedilink
minus-squareOsan@lemmy.worldlinkfedilinkarrow-up0·5 days 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·5 days 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-up0·5 days agoYou want it displayed as “yyyy/mm/dd” so it’s actually “[RTL]dd/mm/yyyy”
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”