Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTime Considerations #16

Open
2 tasks
iloveitaly opened this issue Jul 23, 2015 · 0 comments
Open
2 tasks

DateTime Considerations #16

iloveitaly opened this issue Jul 23, 2015 · 0 comments

Comments

@iloveitaly
Copy link
Member

  • NS uses datetime (with 1970/01/01 as the date) for time stores
  • NS stores all datetimes with a PST (-08:00) timestamp
  • In the use cases that I've come across, the best approach is:
    • the local time set on the rails object should be converted to PST to prevent NS from shifting the timezone information
    • when pulling timezone information from NS, the timezone offset should be set to the rails timezone but the time should be modified based on the NS instance timezone. For instance, if the date in NS is 04:00, the NS company + user timezone is -06:00, and the rails application timezone is -05:00, the final time should be 06:00-05:00

Unresolved items:

  • does NS have a datetime data store that displays both date + time in the GUI?
  • do any special conversions need to be done for DST?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant