Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Ability to change the date format #172

Open
shalak opened this issue Apr 9, 2023 · 1 comment
Open

Ability to change the date format #172

shalak opened this issue Apr 9, 2023 · 1 comment

Comments

@shalak
Copy link

shalak commented Apr 9, 2023

Currently, I'm seeing the date in the following format: 4/9/2023, 6:18:56 PM

From what I see only POSIX locales are installed in the container:

# locale -a
C
C.UTF-8
POSIX

Would be great to have a possibility to change it to something else via the LC_TIME env variable.

@shalak
Copy link
Author

shalak commented Apr 9, 2023

I believe, this should do the trick, right?

diff --git a/Dockerfile b/Dockerfile
index d2dcd12..4ceb79f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -128,6 +128,8 @@ RUN apt update \
     && apt install -y --no-install-recommends \
     build-essential \
     ca-certificates \
+    locales \
+    locales-all \
     curl \
     git \
     jq \

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant