34
kabbura
7y

My country just changed its time zone from UTC+3 to UTC+2.
Now I have to change the server to handle requests correctly!
PS. Probably tomorrow will be a big chaos for everyone!

Comments
  • 0
    Which country bro?
  • 1
    I only heard that some US-States wanted to change their timezones
  • 3
  • 0
    What did they do in UTC+3?
  • 1
    south sudan, uganda, tanzania and sudan should already be in UTC+2
    https://upload.wikimedia.org/wikipe...
  • 3
    @stop
    Have no clue! For some reason, in the year 2000 the government decided to adopt the utc+3 time zone! To get people to go to work early or some shit of that sort!!
    Everything got messed up but people got used to it! Now they want to mess things up again!
  • 3
  • 9
    Dude, server should be UTC. Not in a time zone. All servers should be.

    Converting server time to local time is supposed to be just done when displaying date and time to end user.

    If it was done this way you wouldn't have any trouble.

    P.S. imagine Gmail servers being set each one to their local time instead of UTC. Ughhhhh.
  • 0
    @shivayl UTC means that the time doesnt change every year
  • 2
    @sinisas
    Will, u r completely right, and the server time is indeed in UTC.
    The problem is with the app (mobile app not web app). All requests of people in Sudan will be offset by one hour! Which the app cannot change without an update. "The conversion from timezone to utc doesn't depend on the phone settings. It's hardcoded since we only operate in one country"
    That's why we will need to create a (workaround) so that when people order, the server should deduct one hour from incoming requests.
Add Comment