cldr2def tool: Implement c_format generation
authorJohn Marino <draco@marino.st>
Fri, 24 Jul 2015 08:30:19 +0000 (10:30 +0200)
committerJohn Marino <draco@marino.st>
Fri, 24 Jul 2015 08:40:30 +0000 (10:40 +0200)
commitddddc53a1b3a96656345b67339a90dc7485c1f0e
treecd98e6deaa250e3fd3c5395c7aa224715853c61a
parentb11c11e94e248e63c548d5fde5e4d0b7b8149370
cldr2def tool: Implement c_format generation

The time definitions were missing c_fmt.  The patch I applied to make
the tool run caused it (it was always a bug, but I didn't fix it
correctly).  The c_formats are not defined, so I'm taking the full
date-time format and stripping any %z or %Z timezone symbols that are
contained within.  It's not perfect, but not too bad either considering.
tools/tools/locale/tools/cldr2def.pl