mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 00:37:54 +02:00
WIP timesheet timer: start, pause and stop now via a dialog showing both timers and all buttons
This commit is contained in:
@ -82,7 +82,7 @@ egw.extend('calendar', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
*
|
||||
* If browser / OS is configured correct, identical to: (new Date()).getTimezoneOffset()
|
||||
*
|
||||
* @return {number} offset to UTC in seconds
|
||||
* @return {number} offset to UTC in minutes
|
||||
*/
|
||||
getTimezoneOffset: function() {
|
||||
return isNaN(egw.preference('timezoneoffset')) ? (new Date()).getTimezoneOffset() : parseInt(egw.preference('timezoneoffset'));
|
||||
|
Reference in New Issue
Block a user