Does Anvil recognize datetime.timedelta?

The code in that Time Zone post works great.

Would you recommend establishing the local timezone and any other datetime rules in a server module vs. a browser code? If I’m using a timedelta in an if statement to display certain items, could someone theoretically change the timedelta and manipulate what items are displayed?