Mickey7@lemmy.world to Lemmy Shitpost@lemmy.world · 8 个月前A funny thing about Americans and calendar dateslemmy.worldexternal-linkmessage-square102fedilinkarrow-up1728arrow-down155
arrow-up1673arrow-down1external-linkA funny thing about Americans and calendar dateslemmy.worldMickey7@lemmy.world to Lemmy Shitpost@lemmy.world · 8 个月前message-square102fedilink
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkarrow-up0·8 个月前Should work if you have an RTL invert character before, right? (Not that you could name files with the slashes.)
minus-squareOsan@lemmy.worldlinkfedilinkarrow-up1·8 个月前RTL 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·8 个月前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).
minus-squareOsan@lemmy.worldlinkfedilinkarrow-up1·8 个月前You want it displayed as “yyyy/mm/dd” so it’s actually “[RTL]dd/mm/yyyy”
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up1·8 个月前Ah, I read the original comment backwards.
Should work if you have an RTL invert character before, right? (Not that you could name files with the slashes.)
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.