Enable dummy time zone in nuttx-stm32f4 target. (#1760)

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
Roland Takacs
2017-04-21 11:09:11 +02:00
committed by yichoi
parent d93bc3a849
commit 5231829fc9
+3 -2
View File
@@ -555,15 +555,16 @@ jerry_port_log (jerry_log_level_t level, /**< log level */
/**
* Dummy function to get the time zone.
*
* @return false
* @return true
*/
bool
jerry_port_get_time_zone (jerry_time_zone_t *tz_p)
{
/* We live in UTC. */
tz_p->offset = 0;
tz_p->daylight_saving_time = 0;
return false;
return true;
} /* jerry_port_get_time_zone */
/**