Frederic Martinsons
782eb1f7af
Add private functions to correctly convert datetime when LC_TIME is not UTF8
...
Functions (_g_get_time_charset and _g_get_ctype_charset) to get LC_TIME and LC_CTYPE charset
by using nl_langinfo with _NL_TIME_CODESET and CODESET).
Another functions (_g_locale_time_to_utf8 and _g_locale_ctype_to_utf8) which uses thel and format
the input string accordingly.
Add new test cases with mixing UTF8 and non UTF8 LC_TIME along with UTF8
and non UTF8 LC_MESSAGES.
Closed #2055
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2021-03-27 09:28:10 +01:00
..
2020-10-01 11:46:23 +01:00
2020-04-03 16:30:27 +02:00
2021-01-28 18:37:45 +00:00
2020-07-17 15:08:59 +01:00
2017-02-06 14:40:38 +01:00
2020-06-12 15:01:08 +01:00
2020-11-20 14:40:19 +00:00
2021-02-04 16:04:10 +00:00
2020-12-12 18:41:50 +00:00
2020-11-20 14:40:19 +00:00
2020-11-21 23:11:23 +00:00
2020-10-14 14:17:09 +02:00
2020-05-30 17:40:52 +01:00
2021-02-11 10:14:15 +00:00
2020-07-27 15:41:09 +01:00
2018-09-20 16:08:19 +02:00
2020-10-14 14:17:09 +02:00
2020-09-14 10:11:44 +02:00
2020-11-20 14:40:19 +00:00
2020-10-14 14:17:09 +02:00
2021-01-27 09:23:48 -05:00
2014-10-02 14:41:01 -04:00
2020-12-18 11:38:31 +00:00
2018-12-17 16:19:31 -05:00
2013-11-11 22:38:36 +08:00
2018-11-28 11:04:48 +01:00
2021-02-01 10:44:35 +00:00
2020-10-31 12:26:44 +00:00
2021-03-27 09:28:10 +01:00
2020-01-15 14:07:20 +01:00
2018-12-28 15:30:28 +01:00
2020-01-15 14:07:20 +01:00
2017-02-06 14:40:38 +01:00
2020-11-14 18:17:32 +00:00
2020-11-20 14:40:19 +00:00
2020-11-20 14:40:19 +00:00
2017-02-20 12:40:26 +01:00
2020-06-10 09:48:02 +01:00
2020-12-04 13:54:27 +00:00
2013-11-23 00:39:07 -05:00
2021-02-08 10:37:01 +00:00
2021-03-23 16:33:33 +00:00
2020-03-05 09:39:33 +01:00
2020-11-13 10:12:16 +01:00
2020-01-21 19:54:55 +04:00
2021-03-22 11:48:10 +00:00
2020-07-27 15:41:09 +01:00
2020-11-14 11:51:55 +00:00
2020-11-13 10:12:16 +01:00
2020-06-10 09:48:02 +01:00
2020-11-13 10:13:49 +01:00
2014-01-01 17:59:21 -05:00
2019-08-24 15:49:48 +03:00
2021-02-02 10:51:50 +00:00
2020-10-14 13:15:09 +01:00
2020-11-13 10:12:16 +01:00
2020-11-13 10:12:16 +01:00
2020-06-12 15:01:08 +01:00
2021-02-13 14:41:44 -05:00
2017-05-24 11:58:19 +02:00
2020-11-13 10:12:16 +01:00
2020-07-27 15:41:09 +01:00
2020-11-13 10:12:16 +01:00
2021-03-16 12:53:44 -05:00
2019-03-08 19:46:21 +00:00
2020-11-13 10:12:16 +01:00
2020-07-27 15:41:09 +01:00
2019-06-18 16:42:51 +08:00
2020-06-10 09:48:02 +01:00
2020-11-17 10:38:12 +00:00
2020-07-27 15:41:09 +01:00
2020-11-13 10:12:16 +01:00
2020-03-18 08:58:02 +00:00
2020-11-17 17:25:03 +01:00
2020-11-17 14:12:53 +01:00
2020-11-20 14:40:19 +00:00
2020-03-05 09:39:33 +01:00
2020-06-10 09:48:02 +01:00
2020-11-13 10:13:49 +01:00
2021-01-31 14:15:37 +00:00
2021-01-31 14:15:37 +00:00
2021-02-16 15:08:47 +00:00
2021-01-28 18:37:45 +00:00
2021-02-04 17:34:03 +00:00
2021-02-09 10:50:16 +00:00
2020-10-14 11:01:24 +00:00
2020-06-12 15:01:08 +01:00
2020-11-30 14:42:58 +01:00
2021-01-25 16:34:12 +01:00
2020-02-07 16:24:48 +02:00
2021-02-01 11:19:59 +00:00
2020-12-12 18:41:08 +00:00
2020-11-17 17:25:13 +01:00
2021-03-23 11:36:57 +00:00
2021-02-10 18:25:53 +02:00
2019-11-26 12:17:04 +00:00
2021-02-04 16:04:10 +00:00
2017-10-25 10:33:48 +01:00
2017-05-24 11:58:19 +02:00
2019-11-14 18:38:03 +00:00
2019-09-14 18:01:22 +02:00
2020-07-27 15:41:09 +01:00
2020-06-12 15:01:08 +01:00