I guess you did not try your answer before :-)
+%s obviously always outputs the utc format, no matter what additional parameter
Quote:
[root@(none) /]# date -u +%s
1372441495
[root@(none) /]# date +%s
1372441500
[root@(none) /]# date -u
Fri Jun 28 17:45:04 UTC 2013
[root@(none) /]# date
Fri Jun 28 19:45:06 CEST 2013
|
and regarding "man": not installed on kobo
If i am right, the implementation of rtcwake has an issue. it compares against the local system time
Quote:
sys_time = time(NULL);
if (alarm_time < sys_time)
bb_error_msg_and_die("time doesn't go backward to %s", ctime(&alarm_time));
|
and here is the issue when you want to set it to UTC and this one is 2hrs backwards. I think I read something about this somewhere already but cant find the article
I changed the timezone now to UTC so I only have one time for all clocks now.
now it works - finally