3
0
Fork 0

feat: drop timezone, assume UTC for all datetime values in DB

i guess it was worth a try, but preserving system timezone was doomed
to failure since only postgres actually supports it.  from now on all
DateTime columns will be naive, but understood / assumed to be
UTC-local
This commit is contained in:
Lance Edgar 2025-12-15 13:18:08 -06:00
parent 900937826c
commit a5d641d5bc
7 changed files with 201 additions and 21 deletions

View file

@ -571,7 +571,7 @@ app_title = WuttaTest
now = datetime.datetime.now()
result = self.app.render_time_ago(now)
self.assertEqual(result, "now")
humanize.naturaltime.assert_called_once_with(now)
humanize.naturaltime.assert_called_once()
def test_get_person(self):
people = self.app.get_people_handler()