osd-contiki/apps
Ralf Schlatterbeck 0068611b4d Implement localtime
Now we manage a timezone and daylight-savings aware version of
localtime. We parse UNIX timezone strings. The default (active after the
first call to localtime or localtime_r) is CET/CEST, the timezone of
Europe/Vienna. The wallclock-time osd-example demonstrates how to set a
different timezone via the timezone resource.

Note: After startup no timezone is set. So in this state querying the
timezone resource will return an empty string. After first call to
localtime (if not timezone has been set via the timezone resource) a
query to timezone will return the default timezone string for CET/CEST.

The string returned by the localtime and utc timezones now also includes
the timezone name.

New fields tm_gmtoff and tm_zone were added to the tm structure. These
are available in BSD systems and when setting special compiler
definitions on Linux.

Note: the timezone offset information in the tm structure (tm_gmtoff)
as well as in the tz structure returned by gettimeofday (tz_minuteswest)
may be wrong sign, this code is largely untested.
2016-02-18 09:55:07 +01:00
..
about A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
antelope Avoid compilation warnings in Antelope. 2014-09-05 18:21:47 +02:00
arduino remove init pwm per default, switch moisture sensor on and off to save energy 2014-12-12 08:47:01 +01:00
calc A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
cmdd Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
codeprop Added MSP430X ELFLOADER support to load image with large memory model. 2015-06-15 17:53:18 +05:30
collect-view Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
deluge Changed the parameter 'char * data' of process_start to the 2014-06-12 13:40:28 +02:00
dhcp Fix DHCP client retries. 2015-06-21 14:25:52 +02:00
directory A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
email Moved the ctk files from core/lib into core/lib/ and core/lib/libconio 2014-01-26 23:20:46 +01:00
er-coap Merge pull request #1243 from unmole/coap_fix 2015-10-23 17:58:15 +02:00
ftp Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
http-post-auth Changed the parameter 'char * data' of process_start to the 2014-06-12 13:40:28 +02:00
httpd-ws A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
irc Moved the ctk files from core/lib into core/lib/ and core/lib/libconio 2014-01-26 23:20:46 +01:00
json New MACRO for creating jsontree_array 2014-02-26 19:38:10 +01:00
json-resource Alleged race-condition was a bug in receiver 2015-01-27 10:43:03 +01:00
mqtt Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
netconf Integrates uip-nameserver API 2015-01-09 09:44:06 +01:00
orchestra Adaptive time synchronization for TSCH 2015-12-07 11:51:41 +01:00
ping6 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
powertrace Remove commented-out code 2015-10-20 10:11:47 +02:00
process-list A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
program-handler Merge pull request #1344 from tsparber/fix-doxygen 2015-11-30 22:07:15 +01:00
rest-engine Made rest-engine handle multiple init without dropping resources. 2015-09-24 22:51:30 +02:00
serial-shell [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
servreg-hack Remove commented-out code 2015-10-20 10:11:47 +02:00
shell Cast pointer to uintptr_t type to avoid compiler warnings 2015-10-20 10:11:40 +02:00
slip-cmd Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
telnet A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
telnetd Added missing charset abstraction. 2015-07-16 17:55:26 +02:00
time Implement localtime 2016-02-18 09:55:07 +01:00
unit-test Do not return test execution status. The information is already available in the test object, and it becomes possible for test function to easily clean up state allocated during the test by putting such code after UNIT_TEST_END. 2011-12-01 14:40:54 +01:00
webbrowser www.c: Explicitly declare itoa as it is non-standard and not necessarily in stdlib.h 2015-11-10 14:38:22 +01:00
webserver Fix compiler warnings 2015-10-20 10:11:30 +02:00
webserver-nano Adding a gitattributes and correcting line-endings 2015-09-07 15:40:02 +02:00