0

Turn off time changes

Hi everyone, I need to shut down the time changes in the platform because in my country we keep the same time throughout the year  but I haven´t found out how. Has anyone done it before? 

5 replies

null
    • Lead Consultant Advanced Analytics
    • Michael_Daun
    • 7 days ago
    • Reported - view

    Hi Friedrich,
    where exactly in Pyramid did you encounter the time changes (summer/winter time)?

    I do not know many places in PA where I could think of such configurations. I know that you can specify a certain time zone when defining a schedule, e.g. for a publication. But in general I would expect that PA's server follow the time settings on the underlying machines.

    Perhaps you can give us a little more detail about your requirement....

    THANKS, best regards, 
    Michael

      • Friedrich_Schmid
      • 6 days ago
      • Reported - view

      Hi 

      I've noticed discrepancies in all time-related features, from schedules to queries. The OS of our servers are correctly set to our local timezone, and they did not change time last Sunday—when the time change would have occurred if we were still using them.

      All our databases are set to UTC-0 and also remained unchanged last Sunday. However, when querying these databases through Pyramid, the system translates the time to our timezone. For example, if I query the databases directly from pgAdmin using:
       

      SELECT NOW()
      
      

      I get 15:30, and previously (before Sunday), running the same query through a Pyramid model would return 9:30, which is correct given that our timezone is UTC-0 - 6 hours. That was the expected behavior.

      Currently, though, the same query in Pyramid returns 10:30, which corresponds to UTC-0 - 5 hours, not UTC-0 - 6 hours. This offset would be correct if we were still using winter/summer time, but we’re not—so it’s clear the issue is related to the time change being incorrectly applied by Pyramid.

      Let me know if you need any further information to help address this.

       

      Best regards!

      • Lead Consultant Advanced Analytics
      • Michael_Daun
      • 6 days ago
      • Reported - view

      , thanks for clarification. I understand your problem now...

      ...but I have no idea how to solve this! Perhaps an issue for support or for the Pyramid colleagues here ().

    • NPANS
    • 6 days ago
    • Reported - view

    System time is determined from the OS's running your servers. If you want to change the clocks, you need to somehow change the time in your operating systems. This is a dangerous proposition IMO since lots of logic, including authentication, is heavily interconnected with time. Change it at your own risk!

      • Friedrich_Schmid
      • 6 days ago
      • Reported - view

      Hi  ,

      Our servers are correctly set to our local time zone and take the consideration of not switching between summer and winter time. They keep all the year the winter time UTC-0. That was my first thought and went to review every one of them to look for the one that made the time change but any of them did the change. Is there any other way to change this behaviour? 

      Best regards!

Content aside

  • 6 days agoLast active
  • 5Replies
  • 23Views
  • 4 Following