Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #4907] ignore user's local time #1222

Closed
icinga-migration opened this issue Oct 17, 2013 · 4 comments
Closed

[dev.icinga.com #4907] ignore user's local time #1222

icinga-migration opened this issue Oct 17, 2013 · 4 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/4907

Created by sano1987 on 2013-10-17 16:57:19 +00:00

Assignee: sano1987
Status: Feedback
Target Version: Backlog
Last Update: 2015-05-18 12:17:52 +00:00 (in Redmine)

Icinga Version: 1.9.3
Icinga Web Version: 1.9.0
IDO Version: 1.9.3
OS Version: Oracle Linux 6.3
DB Type: MySQL
DB Version: 5.1.69
Browser Version: Firefox 18, IE 9

If user have different time from icinga server that duration displayed with user's time difference. For example, if time on server 8:00 and time on user's computer 10:00 and host or service down at this moment than user will see duration time 2h.
How can we ignore user local time and show real duration?

@icinga-migration
Copy link
Author

Updated by dgoetz on 2013-11-29 16:03:52 +00:00

Having the same problem here using icinga and icinga-web 1.10.

System time is UTC, time is set in php.ini to UTC (date.timezone = UTC) and also default_timezone in translation.xml is set to UTC. Browsing icinga-web with locale de and en results in duration being +1 hour.

@icinga-migration
Copy link
Author

Updated by mie on 2014-02-20 09:34:18 +00:00

This is maybe related to Bug #4983, which used the client time instead the server time for JS input fields. I'm running the server at UTC and the clients at GMT+1, which results in a wrong duration (will be displayed with +1 hour).

I recognized this behavior in icinga-web-1.7.2-2.el6.rf.noarch and in the newest version icinga-web-1.10.1-1.el6.noarch as well. Because this is confusing some users it would be great to have a fix available. If you need more information I'll happy to provide it.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-04-26 09:13:35 +00:00

  • Category set to Framework
  • Status changed from New to Feedback
  • Assigned to set to sano1987

Please re-test again with 1.13

@icinga-migration
Copy link
Author

Updated by berk on 2015-05-18 12:17:52 +00:00

  • Target Version set to Backlog

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants