On Tue Nov 8 17:04:49 2022 +0000, Jacek Caban wrote:
Date constructor uses the same code, so maybe another helper would be useful. Also, you could also just make TIME_EPOCH signed.
Ah right. I've moved the conversion to a helper and did some extra cleanups, getting rid of the macro even, and using bitwise OR instead of addition since the intent is clearer (it's combining two halves, not adding them).