WebUI. How to change timezone?

87 views
Skip to first unread message

Al Dvornev

unread,
Mar 4, 2016, 2:42:03 AM3/4/16
to bareos-users
i'm new user.
backup-dir Version: 15.2.2 (16 November 2015) x86_64-redhat-linux-gnu redhat CentOS Linux release 7.0.1406 (Core)
CentOS Linux release 7.2.1511 (Core)

the problem is in Restore tab files looks like:
boot/ 4.1 KB Fri, 04 Mar 2016 05:54:53 GMT

ll / shows right time:
dr-xr-xr-x. 4 root root 4096 мар 4 08:54 boot

if i connect through bat it shows right time:
boot/ dr-xr-xr-x root root 4096 2016-03-04 08:54:53

ll /etc/localtime is:
lrwxrwxrwx 1 root root 35 мар 3 16:50 /etc/localtime -> ../usr/share/zoneinfo/Europe/Moscow

changing /etc/php.ini "date.timezone = Europe/Moscow" doesn't help

Marco van Wieringen

unread,
Apr 30, 2016, 11:35:43 AM4/30/16
to bareos...@googlegroups.com
Currently the webui only shows the time in GMT as that is how its
hard coded in the javascript code that converts the stuff from
the unix timestamp to human readable. Feel free to write something
better or hardcode an other timezone.

You are looking for the following:

./module/Restore/view/restore/restore/index.phtml: function unix_to_human(UNIX_timestamp)


--
Marco van Wieringen marco.van...@bareos.com
Bareos GmbH & Co. KG Phone: +49-221-63069389
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
P. Storz, M. v. Wieringen

Reply all
Reply to author
Forward
0 new messages