Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support alternative date formats when inputting #183

Closed
ghost opened this issue Jun 25, 2014 · 2 comments
Closed

Support alternative date formats when inputting #183

ghost opened this issue Jun 25, 2014 · 2 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Jun 25, 2014

First of all, thanks a lot for this project. I like it a lot so far, except for one thing. I am Dutch, and here we use either yyyy-mm-dd or dd-mm-yyyy, but never mm/dd/yyyy and as such this format can be confusing for me (and most people outside the US). This is no problem for the output which can also be configured, but when inputting entries the following both do not seem to work as expected:

jrnl 1-12-1990 at 12:00: a long time ago => 2014-06-25 12:00 a long time ago
jrnl 1990/12/1 at 12:00: a long time ago => 2014-06-25 12:00 a long time ago

@maebert
Copy link
Contributor

maebert commented Jun 25, 2014

Hi, that's a very valid point. This has already been on my mind from the very start (see #10) but I never quite got around to it. I'll work on it for the next major release though!

minchinweb pushed a commit to minchinweb/jrnl that referenced this issue Jul 29, 2014
@nylki
Copy link

nylki commented Mar 22, 2017

This was apparently closed via maebert@49f67df in 2014, yet I can't find any documentation on how would I change the language format to something other than English. Is the functionality implemented but not documented (or have I missed the relevant part?) or is there still some part left to be implemented.

UPDATE

Just looked at jrnl_config. There we can set timeformat which helps.
But words like yesterday and 2pm etc. remain special. It would be neat to be able to parse lines like: jrnl 14:00: something instead of jrnl 2pm: something
or eg (in German): gestern: something.

wren pushed a commit that referenced this issue Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants