3 ms·
If doing work involved with timestamps Of course, any argument becomes much easier if you're allowed to just discard half the purpose of the thing you're argui
by tremon 3y ago
If doing work involved with timestamps
Of course, any argument becomes much easier if you're allowed to just discard half the purpose of the thing you're arguing about. The Python datetime library doesn't just exist to record timestamps. From the actual documentation:
> The datetime module supplies classes for manipulating dates and times.
> [..] the focus of the implementation is on efficient attribute extraction for output formatting and manipulation.
Datetime manipulation is part of the explicit focus of the module. So why would you argue that we shouldn't expect said manipulations to be DST-aware?