I live in Brazil. Here we have 4 different timezones.
The company I work already have a windows software that doesn't care about the timezone, so it always gets the time of the system, but now I'm implementing a web app that synchronize everything.
Now I'm only working with America\Sao_Paulo
and obviously got some problems in a country that have 4 timezones
I have multiples questions about who is responsible for caring about the timezone:
- When storing some time, should the front, send the local time to the server and the server store in this case America\Sao_Paulo or the front should send always
America\Sao_Paulo
? - When getting the date form the server, should it return in
America\Sao_Paulo
or the time that the system wants?