POSIX TimeZones in OTRS
-
- Znuny newbie
- Posts: 6
- Joined: 13 Nov 2012, 16:44
- Znuny Version: 3.1.7
- Real Name: Joop Boonen
POSIX TimeZones in OTRS
Hi all,
As it's useful I'm checking out how POSIX Timezones implement in OTRS.
The reason why it's useful for us mainly because of Daylight saving time.
The current set-up with with a time difference in respect to the Core::Time isn't OK. When you're operating internationally and you're member offices have a different or no Daylight saving time scheme.
I did some basic research and some tests. A user can, when TimeZoneUser and TimeZonePosixin in Core::Time are enabled, select a Posix TimeZone.
I would like to know what the best / preferred way is to incorporate dynamical generated content in Framework.xml and/or otrs/Kernel/System/SysConfig.pm ?
As for Core::Time ( TimeZone ) and Core::Time::Calendar1 ( TimeZone::Calendar1 ) it's not clear how dynamically generated code should be added to the Framework.xml or anywhere else?
Does anyone know if any plans exist to incorporate Posix TimeZones or any other Daylight saving time aware code.
If no plans exist, what are the chances that working code for Posic TimeZones will be added to the otrs standard code base?
I've attached a diff of the basic code, it's just scrap code for now.
Regards,
Joop.
As it's useful I'm checking out how POSIX Timezones implement in OTRS.
The reason why it's useful for us mainly because of Daylight saving time.
The current set-up with with a time difference in respect to the Core::Time isn't OK. When you're operating internationally and you're member offices have a different or no Daylight saving time scheme.
I did some basic research and some tests. A user can, when TimeZoneUser and TimeZonePosixin in Core::Time are enabled, select a Posix TimeZone.
I would like to know what the best / preferred way is to incorporate dynamical generated content in Framework.xml and/or otrs/Kernel/System/SysConfig.pm ?
As for Core::Time ( TimeZone ) and Core::Time::Calendar1 ( TimeZone::Calendar1 ) it's not clear how dynamically generated code should be added to the Framework.xml or anywhere else?
Does anyone know if any plans exist to incorporate Posix TimeZones or any other Daylight saving time aware code.
If no plans exist, what are the chances that working code for Posic TimeZones will be added to the otrs standard code base?
I've attached a diff of the basic code, it's just scrap code for now.
Regards,
Joop.
You do not have the required permissions to view the files attached to this post.
Re: POSIX TimeZones in OTRS
well, you should not touch the xml files or ZZZAuto.pm
The best is to write them in a seperate .pm file in the Kernel/Config/Files folder
The best is to write them in a seperate .pm file in the Kernel/Config/Files folder
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 13 Nov 2012, 16:44
- Znuny Version: 3.1.7
- Real Name: Joop Boonen
Re: POSIX TimeZones in OTRS
I'm new to OTRS.
I found this documentation: http://doc.otrs.org/3.1/en/html/configuration.html
Do you know if any otrs team approved template exists that show the preferred way this should be handled?
I found this documentation: http://doc.otrs.org/3.1/en/html/configuration.html
Do you know if any otrs team approved template exists that show the preferred way this should be handled?
Last edited by worldcitizen on 20 Nov 2012, 12:56, edited 2 times in total.
Re: POSIX TimeZones in OTRS
just create a .pm file with the neccessary config code in it in Kernel/Config/Files.
The last line needs to be:
1;
The last line needs to be:
1;
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 13 Nov 2012, 16:44
- Znuny Version: 3.1.7
- Real Name: Joop Boonen
Re: POSIX TimeZones in OTRS
Is it OK to edit files like Kernel/Output/HTML/PreferencesTimeZone.pm, Kernel/System/Time.pm?
Or should it be handled in a different way ( please check the diff ) ?
Or should it be handled in a different way ( please check the diff ) ?
Re: POSIX TimeZones in OTRS
these should be in the custom directory as otherwise the will be overriden by original code on updates
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 13 Nov 2012, 16:44
- Znuny Version: 3.1.7
- Real Name: Joop Boonen
Re: POSIX TimeZones in OTRS
Do you know if otrs has any plans to implement Daylight saving time on top or in stead of the current TimeZone set-up?
Re: POSIX TimeZones in OTRS
currently there are no such plans
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 13 Nov 2012, 16:44
- Znuny Version: 3.1.7
- Real Name: Joop Boonen
Re: POSIX TimeZones in OTRS
I see OTRS is used by a lot of international operating companies.
I wonder how they have solved the time issue or they are happy with the time difference configuration, which involves some manual changes when the Daylight Saving time is active/inactive.
Or they only have one queue Calendar and they work with the TimeZoneUserBrowserAutoOffset ?
I wonder how they have solved the time issue or they are happy with the time difference configuration, which involves some manual changes when the Daylight Saving time is active/inactive.
Or they only have one queue Calendar and they work with the TimeZoneUserBrowserAutoOffset ?