Akos Kiss
b523cf3cd1
Introduce the Date Port API
...
Replaced `gettimeofday`-related code with `jerry_port_get_current_time`
and `jerry_port_get_time_zone` function calls. Moved old code to
default port implementation.
Removed `ENABLE_DATE_SYS_CALLS` as date syscalls should "just work".
Fix DST adjustments: even if `gettimeofday` returns meaningful data in
`tz_dsttime`, the value is just a flag (or, according to some sources,
a tri-state value: >0 if DST applies, ==0 if DST does not apply, <0 if
unknown). Hitherto, the field was simply added to/subtracted from a
time value in milliseconds. To use it approximately correctly, the
field's value should be multiplied by "millisecs/hour".
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2016-04-20 17:56:30 +02:00
..
2016-03-22 08:05:00 +01:00
2015-08-14 10:51:44 +02:00
2016-02-17 13:52:51 +00:00
2015-07-07 17:14:07 +02:00
2016-04-13 23:25:16 -07:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-04-18 19:20:49 +02:00
2016-04-18 19:20:49 +02:00
2016-04-20 17:56:30 +02:00
2015-06-29 23:27:58 +03:00
2016-03-22 08:05:00 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-04-13 23:25:16 -07:00
2015-10-20 16:29:12 +02:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-04-18 19:20:49 +02:00
2016-04-18 19:20:49 +02:00
2016-04-20 17:56:30 +02:00
2016-04-13 21:47:28 +02:00
2016-04-13 21:47:28 +02:00
2016-03-10 11:26:14 +01:00
2016-04-18 19:20:49 +02:00
2016-04-13 23:25:16 -07:00
2015-07-07 04:39:39 -07:00
2016-04-18 19:20:49 +02:00
2015-06-29 23:27:58 +03:00
2016-04-13 23:25:16 -07:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-03-09 11:44:32 +01:00
2015-06-29 23:27:58 +03:00
2016-04-13 23:25:16 -07:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-04-13 23:25:16 -07:00
2016-04-18 19:20:49 +02:00
2016-03-22 08:05:00 +01:00
2015-07-30 15:25:53 +02:00
2016-04-18 19:20:49 +02:00
2016-03-01 13:54:14 +01:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-03-09 11:44:32 +01:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-22 13:47:45 +01:00
2016-04-18 19:20:49 +02:00
2016-02-17 13:52:51 +00:00
2016-04-18 19:20:49 +02:00