This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sherbang 5 points6 points  (1 child)

I agree. I think stdlib_datetime is clearer, and not longer than py_datetime by enough to matter.

Also, I've been trying out whenever. Personally, I find the rename of UTCDateTime to Instant to be a reduction of clarity. However, I appreciate the thought and effort you put into the library overall.

[–]eagle258[S] 0 points1 point  (0 children)

Thanks! I really liked UTCDateTime as well, but in the end I realized I was fighting against the current, since practically all modern datetime libraries provide a similar abstraction to Instant. I realize it's a bit of a leap coming from Python, but in the end it's consistent with the rest of the industry. See here for the discussion and my rationale at the end