CodaChroma@lemmy.world to Standardization@sh.itjust.worksEnglish · 1 year agoWow! It actually makes sense!i.imgur.comexternal-linkmessage-square134fedilinkarrow-up1487arrow-down134
arrow-up1453arrow-down1external-linkWow! It actually makes sense!i.imgur.comCodaChroma@lemmy.world to Standardization@sh.itjust.worksEnglish · 1 year agomessage-square134fedilink
minus-squareTroy@lemmy.calinkfedilinkEnglisharrow-up29·1 year agoISO 8601. Unironically the only ISO number I also remember.
minus-squaremattaw@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 year agoI also remember as PHP programming language still won’t do it with this function: DateTimeInterface::ISO8601 DATE_ISO8601 https://www.php.net/manual/en/class.datetimeinterface.php#datetime.constants.iso8601 You need the DateTimeInterface::ISO8601_EXPANDED which can actually accept non compliant strings too. PHP - wherever you see an intuitive solution it’s wrong or has important caveats.
ISO 8601. Unironically the only ISO number I also remember.
Long live I-SO! I-SO! I-SO!
I also remember as PHP programming language still won’t do it with this function: DateTimeInterface::ISO8601 DATE_ISO8601 https://www.php.net/manual/en/class.datetimeinterface.php#datetime.constants.iso8601
You need the DateTimeInterface::ISO8601_EXPANDED which can actually accept non compliant strings too.
PHP - wherever you see an intuitive solution it’s wrong or has important caveats.