3 ms·
I remember we had the same problem parsing time formats. Can't remember any specifics though (might have been timezone offsets), but I think parsing would be le
by rmetzler 11y ago
I remember we had the same problem parsing time formats. Can't remember any specifics though (might have been timezone offsets), but I think parsing would be less error prone when there wouldn't be that magic date time formatting by example style used.
I can totally understand that it is often easier to use, but compatibility with strftime is good for the experienced developer. There is a reason, why sites like [1] and several 3rd party libs [2] exist.
[1]: http://fuckinggodateformat.com/ http://fuckinggodateformat.com/
[2]: https://github.com/search?q=language%3Ago+strftime&ref=searchresults&type=Repositories&utf8=%E2%9C%93 https://github.com/search?q=language%3Ago+strftime&ref=searc...