S
S
Sergey2019-01-31 10:23:27
CentOS
Sergey, 2019-01-31 10:23:27

How to change the time format on Linux?

5c52a1de2700e908730515.png
The hosting is CentOS 6. In the Node.js application, the time is displayed in a 12-hour format, but it needs to be in a 24-hour format. How to change it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2019-01-31
@Sergey-Nag

All figured out.
First I registered the command,
then I rewrote it from the list
LANG=ru_RU.utf8

M
Melkij, 2019-01-31
@melkij

Question for your application. Applications format the output themselves.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question