osd-contiki/apps/time
Ralf Schlatterbeck e3784fa9c7 Add query parameter to generic resouce macros
Modify all callback functions to use new signature.
ota-update now uses this to pass the partition to some get/put methods.
2017-08-20 15:01:30 +02:00
..
Makefile.time Add cron functionality 2016-02-26 17:30:16 +01:00
README Implement localtime 2016-02-18 09:55:07 +01:00
bitstring.h Add cron functionality 2016-02-26 17:30:16 +01:00
cron.c Add 'x' prefix to time functions 2016-03-29 17:48:59 +02:00
cron.h Add cron functionality 2016-02-26 17:30:16 +01:00
resource_crontab.c Add query parameter to generic resouce macros 2017-08-20 15:01:30 +02:00
resource_gmtime.c Add query parameter to generic resouce macros 2017-08-20 15:01:30 +02:00
resource_timestamp.c Add query parameter to generic resouce macros 2017-08-20 15:01:30 +02:00
resource_timezone.c Add query parameter to generic resouce macros 2017-08-20 15:01:30 +02:00
time.c Add 'x' prefix to time functions 2016-03-29 17:48:59 +02:00
time_resource.h Add cron functionality 2016-02-26 17:30:16 +01:00
tzparse.h Implement localtime 2016-02-18 09:55:07 +01:00
xtime.h Add 'x' prefix to time functions 2016-03-29 17:48:59 +02:00

README

Timezones
=========

The new version supports time zones and daylight saving time (DST).
Currently we support only a single timezone. We use the UNIX timezone
format which is usually specified in an environment variable TZ.

Note that for timezone information you can have different
representation, either relative to Universal Time Coordinated (UTC) or
to International Atomic Time (TAI), the latter contains leap seconds.
Since most systems today use UTC *and* the clock of a microcontroller
is typically not accurate enough to care about leap seconds, we're using
timezone files relative to UTC.

Wikipedia has a very good treatment of the public timezone database in
https://en.wikipedia.org/wiki/Tz_database

The format of timezone strings is described in the Linux manual page
tzset(3). The timezone specification for Europe/Vienna is
CET-1CEST,M3.5.0,M10.5.0/3