Code:
nenad@openSUSE:~> date
Thu Jun 26 14:40:57 CEST 2014
Code:
nenad@openSUSE:~> date --utc
Thu Jun 26 12:41:17 UTC 2014
Code:
nenad@openSUSE:~> locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=sl_SI.UTF-8
LC_CTYPE="sl_SI.UTF-8"
LC_NUMERIC="sl_SI.UTF-8"
LC_TIME=sl_SI-UTF.8
LC_COLLATE="sl_SI.UTF-8"
LC_MONETARY="sl_SI.UTF-8"
LC_MESSAGES="sl_SI.UTF-8"
LC_PAPER="sl_SI.UTF-8"
LC_NAME="sl_SI.UTF-8"
LC_ADDRESS="sl_SI.UTF-8"
LC_TELEPHONE="sl_SI.UTF-8"
LC_MEASUREMENT="sl_SI.UTF-8"
LC_IDENTIFICATION="sl_SI.UTF-8"
LC_ALL=
Code:
nenad@openSUSE:~> ls -l /etc/localtime
lrwxrwxrwx 1 root root 38 Jun 26 12:41 /etc/localtime -> ../usr/share/zoneinfo/Europe/Ljubljana
Code:
nenad@openSUSE:~> su -
Password:
-bash: warning: setlocale: LC_TIME: cannot change locale (sl_SI-UTF.8): No such file or directory
Code:
openSUSE:~ # hwclock --debug
hwclock from util-linux 2.23.2
Using /dev interface to clock.
Last drift adjustment done at 1403779132 seconds after 1969
Last calibration done at 1403779132 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2014/06/26 12:43:19
Hw clock time : 2014/06/26 12:43:19 = 1403786599 seconds since 1969
Thu Jun 26 14:43:19 2014 -0.531985 seconds
Code:
openSUSE:~ # date
Thu Jun 26 14:44:08 CEST 2014
Code:
openSUSE:~ # date --utc
Thu Jun 26 12:44:31 UTC 2014
Code:
openSUSE:~ # locale
LANG=POSIX
LC_CTYPE=sl_SI.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Here it is.
I'd like to point out that where i live, utc is displaying the correct time of the two commands posted above...
Bookmarks