Skip to content

Comment on Arrow: Better dates and times for Pythonparent

Comments

It's 2 inconvenient characters longer for each one, but aliasing your date and time parsers to "d" and "t" and then adding parentheses to what you have written there seems like a good enough solution for the majority of cases.

Do you have so many time literals in your code?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.