qaz@lemmy.world to Memes@lemmy.ml · 10 个月前Standards shouldn't be behind a paywalllemmy.worldimagemessage-square84fedilinkarrow-up1612file-text
arrow-up1578imageStandards shouldn't be behind a paywalllemmy.worldqaz@lemmy.world to Memes@lemmy.ml · 10 个月前message-square84fedilinkfile-text
ISO 8601 is paywalled RFC allows a space instead of a T (e.g. 2020-12-09 16:09:…) which is nicer to read.
minus-squareSirQuackTheDuck@lemmy.worldlinkfedilinkarrow-up8·10 个月前Doesn’t the ISO also includes time periods? Because if it does, those are amazing. Without any explanation, you should be able to decypher these periods just by looking at them: P1Y P6M2D P1DT4H PT42M
minus-squareSirQuackTheDuck@lemmy.worldlinkfedilinkarrow-up1·10 个月前It makes the difference between M meaning month or M meaning minute. Small differences.
minus-squareKilling_Spark@feddit.delinkfedilinkarrow-up1·10 个月前So it’s redundant in P1DT4H? Or is it a mandatory separator between ymd and hms?
minus-squareSirQuackTheDuck@lemmy.worldlinkfedilinkarrow-up1·10 个月前It’s mandatory, which also makes it nice and predictable.
Doesn’t the ISO also includes time periods? Because if it does, those are amazing.
Without any explanation, you should be able to decypher these periods just by looking at them:
Hmm I don’t get the T there tbh
It makes the difference between M meaning month or M meaning minute. Small differences.
So it’s redundant in P1DT4H? Or is it a mandatory separator between ymd and hms?
It’s mandatory, which also makes it nice and predictable.