If web page uses JavaScript Date objects, then timezone information is incorrect.
Reference site : https://www.w3schools.com/js/js_dates.asp
System icu using "/opt/etc/localtime" instead of "/etc/localtime"
Reference:
https://review.tizen.org/gerrit/#/c/282962
Change-Id: Ie5c2ff93647d94620fa8c1b20d62684db596c72f
Signed-off-by: fang fengrong <fr.fang@samsung.com>
#include <locale.h>
#include <float.h>
+#include "build/build_config.h"
+
#ifndef U_COMMON_IMPLEMENTATION
#error U_COMMON_IMPLEMENTATION not set - must be set for all ICU source files in common/ - see https://unicode-org.github.io/icu/userguide/howtouseicu
#endif
#define TZZONEINFO "/usr/share/lib/zoneinfo/"
#define TZ_ENV_CHECK "localtime"
#else
+#if BUILDFLAG(IS_TIZEN_TV)
+#define TZDEFAULT "/opt/etc/localtime"
+#else
#define TZDEFAULT "/etc/localtime"
+#endif
#define TZZONEINFO "/usr/share/zoneinfo/"
#endif
#define TZZONEINFOTAIL "/zoneinfo/"