Re:Intl
by BadInformatics on Tuesday June 01, 2021 @08:03PM
(#27363067)
Why is using string replacement to, well, replace spaces with dashes if one wants a non-standard string format an outrageous request then? Personally, I've been bitten time and time again by non-standard, hard-coded strftime formats. Either show a localized time and let my system decide the format, or use ISO 8601/RFC 3339. If one must have full control over the format, the Date object exposes getters for each component.
[ Parent
| on HN ]
There are no comments on this comment yet.