Absolute Date for GitHub

Changes relative dates to absolute dates on GitHub

< Feedback on Absolute Date for GitHub

Question/comment

§
Posted: 2022-10-15

Hello,

Your script works very well on Github for me, but I would like to know how to get the date and time in my own language please ?

Thank you for your answer.

Google Chrome Browser with Tampermonkey

foooomioAuthor
§
Posted: 2022-10-16

The date time format string is customizable. See Day.js documentation https://day.js.org/docs/en/display/format

§
Posted: 2022-10-16

Just before contacting you, I had already chosen this format "D MMMM YYYY HH:mm:ss" after having taken a good look at https://momentjs.com/docs/#/displaying/ and now https://day.js.org/docs/en/display/format.
But I realized that the language is always in English while I'm French and therefore I would have liked to have the language in French too.

foooomioAuthor
§
Posted: 2022-10-16

The script does not support i18n.

§
Posted: 2022-10-16

Okay, I understand and thank you for your answers.

Post reply

Sign in to post a reply.