mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
df4aea7620
The `%E` modifier causes dates to be formatted using an alternative era representation for years. This doesn’t do anything for most dates, but in locales such as Thai and Japanese it causes years to be printed using era names. In Thai, this means the Thai solar calendar (https://en.wikipedia.org/wiki/Thai_solar_calendar). In Japanese, this means Japanese era names (https://en.wikipedia.org/wiki/Japanese_era_name). The `%E` modifier syntax follows what’s supported in glibc — see nl_langinfo(3). Supporting this is quite involved, as it means loading the `ERA` description from libc and parsing it. Unit tests are included. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Fixes: #3119
17 lines
282 B
Docker
17 lines
282 B
Docker
FROM registry.gitlab.gnome.org/gnome/glib/fedora:v23
|
|
|
|
USER root
|
|
|
|
RUN dnf -y install \
|
|
mingw64-gcc \
|
|
mingw64-gcc-c++ \
|
|
mingw64-gettext \
|
|
mingw64-libffi \
|
|
mingw64-zlib \
|
|
&& dnf clean all
|
|
|
|
WORKDIR /opt
|
|
COPY cross_file_mingw64.txt /opt
|
|
|
|
USER user
|
|
WORKDIR /home/user |