[ITC][base-utils][Change the logic to create a simple date fmt object using the given... 58/198658/3
authormanoj <manoj.g2@samsung.com>
Mon, 28 Jan 2019 11:59:53 +0000 (17:29 +0530)
committerABHISHEK JAIN <j.abhishek@samsung.com>
Mon, 28 Jan 2019 12:55:46 +0000 (12:55 +0000)
Change-Id: I8f0112a076a52cc92db225ce600397924bde3b97
Signed-off-by: manoj <manoj.g2@samsung.com>
src/itc/base-utils/ITs-base-utils-simple-date-format.c

index 75005c15b4aa8a5ff9ae4cd77694b85fc25f57c8..b1ecbfa10fb9e5a4f2e4610cefc17d6f5c62b039 100755 (executable)
@@ -45,7 +45,7 @@ void ITs_base_utils_simple_date_fmt_startup(void)
 
        g_bBaseUtilsInitFlag = false;
 
-       int nRet = i18n_simple_date_fmt_create_from_pattern(g_pszPattern, &g_hDateFmt);
+       int nRet = i18n_simple_date_fmt_create_from_pattern_locale(g_pszPattern, g_pszLocale, &g_hDateFmt);
        if ( nRet != I18N_ERROR_NONE )
        {
                FPRINTF("[Line : %d][%s] Unable to create date format, error returned = %s\\n", __LINE__,API_NAMESPACE,  BaseUtilsGetError(nRet));