| 1 |
# icu4c-tools |
| 2 |
|
| 3 |
Some haphazard tools for cross-checking results between ICU4C and Babel. |
| 4 |
These are not meant to be production-ready or e.g. guaranteed to not leak memory in any way. |
| 5 |
|
| 6 |
## icu4c_date_format |
| 7 |
|
| 8 |
### Compiling |
| 9 |
|
| 10 |
This worked on my macOS – on a Linux machine, you shouldn't need the `PKG_CONFIG_PATH` environment variable. |
| 11 |
|
| 12 |
``` |
| 13 |
env PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c@76/lib/pkgconfig" make bin/icu4c_date_format |
| 14 |
``` |
| 15 |
|
| 16 |
### Running |
| 17 |
|
| 18 |
E.g. |
| 19 |
|
| 20 |
``` |
| 21 |
env TEST_TIMEZONES=Pacific/Honolulu TEST_LOCALES=en_US,en,en_GB TEST_TIME_FORMAT="YYYY-MM-dd H:mm zz" bin/icu4c_date_format |
| 22 |
``` |