Giter Site home page Giter Site logo

Comments (10)

radonm avatar radonm commented on July 21, 2024

from moc-openstack-tools.

greyspectrum avatar greyspectrum commented on July 21, 2024

Both the Google spreadsheet and the helpdesk-vm are set to UTC. This came up as an issue in July, because at that time, the spreadsheet was set to EST and the helpdesk-vm was on UTC. This made it appear as though incoming requests were made four hours in the future, since UTC is four hours ahead of EST.

The "fix" was to switch the spreadsheet to UTC, so that everything is consistent. I'm loathe to switch the helpdesk-vm to EST, because doing that sort of thing creates problems, so the best solution would be to subtract four hours to the time around line 176 of check-approved-requests.py and then switch the spreadsheet back to EST.

That way, the helpdesk-vm stays on UTC, the output in the spreadsheet would be consistent EST, and there would be no daylight-savings-type headaches arising from running a Linux server on non-UTC time.

from moc-openstack-tools.

jeremyfreudberg avatar jeremyfreudberg commented on July 21, 2024

Was about to comment the same as Austin. We want to always stay on UTC because the occasional switch from EDT to EST and back can be a mess

from moc-openstack-tools.

radonm avatar radonm commented on July 21, 2024

from moc-openstack-tools.

radonm avatar radonm commented on July 21, 2024

from moc-openstack-tools.

jeremyfreudberg avatar jeremyfreudberg commented on July 21, 2024

@Radomn in the code we need to keep track of events in UTC. otherwise how do you differentiate Nov 5 2017 at 1:30AM half an hour before the switch and Nov 5 2017 at 1:30 am half an hour after the switch. I guess if you want "human readable" notifications then we can convert the time just for the purposes of displaying in email but it is more of a chore to do that then actually use a negligible amount of brain power to be comfortable with UTC.

from moc-openstack-tools.

radonm avatar radonm commented on July 21, 2024

from moc-openstack-tools.

radonm avatar radonm commented on July 21, 2024

Port problem should be higher priority. @pns can you approve ports = 3* VMs

from moc-openstack-tools.

greyspectrum avatar greyspectrum commented on July 21, 2024

The user facing timestamps displayed in the spreadsheet can be converted to EST using pytz, without adjusting the system clock. Running systems on UTC to avoid the kinds of DST problems that Jeremy highlighted is a widely accepted best practice.

from moc-openstack-tools.

radonm avatar radonm commented on July 21, 2024

Practice that does not work can't be best

from moc-openstack-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.