Q
Q
qwex2016-05-09 03:40:00
go
qwex, 2016-05-09 03:40:00

How to work with the time package?

Hello, I get the time and write it to a variable in this way:
t := time.Now().Format("Mon, 02 Jan 2006 15:04:05 MST")
Please tell me how to get the time correctly in Russian, there is a need to climb into the time package itself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Semchenko, 2016-05-09
@0xcffaedfe

No, you won’t get it in Russian, get it as it is, then translate it even into Korean, either with pens or https://github.com/nicksnyder/go-i18n to help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question