Skip to content

How to change date format? #1840

Answered by micahellison
rghedin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rghedin, I'm glad you're liking jrnl. It is possible to set up a journal using a non-US date/time format, though I only recommend doing this with a new journal since jrnl will have a hard time understanding what the old dates mean if you change an existing journal's configuration.

To change it in the config, use the timeformat key in your journal, like so:

journals:
  brazil-time:
    journal: C:\temp\testing\brazil-time.jrnl
    timeformat: '%d/%m/%Y %H:%M:%S'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rghedin
Comment options

Answer selected by rghedin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants