|1 point by danchr 1 year ago | discuss | on: Stop Using datetime.now|
That's terrible advice. I was expecting it to argue that `datetime.now()` is harmful due to its lack of timezone support, but no… Apparently, the author never heard of freezegun, and so wrote an awful lot of code to — essentially — reimplement it. Yes, use `datetime.now`. Write simple code. When testing, use something like freezegun to adjust the clock.