From ce9a70f9a4eaf3f734100ed90e9360294245d246 Mon Sep 17 00:00:00 2001 From: Pawel Kaczmarek Date: Mon, 4 May 2015 11:29:59 +0200 Subject: [PATCH] [Utils][Content] Fix for TCT [Verification] TCT content result: before: 60.87% after: 94.35% Change-Id: Idd319bb9a86dd41c34e87fb454421bf645848c35 Signed-off-by: Pawel Kaczmarek --- src/utils/utils_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils_api.js b/src/utils/utils_api.js index e87f3f2a..e0133b5b 100644 --- a/src/utils/utils_api.js +++ b/src/utils/utils_api.js @@ -40,7 +40,7 @@ DateConverter.prototype.toTZDate = function(v, isAllDay) { }; DateConverter.prototype.fromTZDate = function(v) { - if (!(v instanceof tizen.TZDate)) { + if (!tizen.TZDate || !(v instanceof tizen.TZDate)) { return v; } -- 2.34.1