HomePhabricator

efl_ui_clock: Add 'O' character to ignore POSIX alternative format in format.

Authored by Woochan Lee <wc0917.lee@samsung.com> on Aug 30 2017, 10:16 PM.

Description

efl_ui_clock: Add 'O' character to ignore POSIX alternative format in format.

Summary:
_parse_format() function filtering "_/-/0/^/*" to filter POSIX alternatvie/extension formats,
But the Datetime do not appear in some locale(fa_IR, lzh_TW, my_MM, or_IN) with 'O'.

+ improve code. (not compare with all of the characters. instead of that using strchr)

https://lh.2xlibre.net/values/d_t_fmt/

@fix

Test Plan: Set locale as fa_IR and create DateTime. and see fields, not appears.

Reviewers: jpeg, cedric

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5020

Jean-Philippe Andre <jp.andre@samsung.com> committed rEFLf4522d4124ad: efl_ui_clock: Add 'O' character to ignore POSIX alternative format in format. (authored by Woochan Lee <wc0917.lee@samsung.com>).Aug 30 2017, 10:16 PM