-
Notifications
You must be signed in to change notification settings - Fork 9
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 Writing Dates As Per User Input #14
Comments
The file format as specified by hledger restricts the date format to Y/M/D, Y-M-D, and Y.M.D: http://hledger.org/journal.html#dates |
Sorry I didn't respond to this earlier. As @t-wissmann noted, only certain date formats are allowed, so this is related to simonmichael/hledger#210. Also, we currently use the @the-solipsist What's your use case? Do you want a completely different date format or do you just want to omit the year? |
As a side note, the documentation should be clearer on |
I prefer using an ISO 8601-style format of YYYY-MM-DD. |
I just wanted to leave a note that this is currently waiting on simonmichael/hledger#933 |
Currently I open hledger-iadd using this command:
$ hledger-iadd --date-format [[%Y-]%m-]%d -f Accounts/2017.ledger
Yet, when I look at the dates entered in the file, they always follow the Y/m/d format. Is --date-format only by hledger-iadd for reading dates, rather than for writing them? Is it possible to support writing of dats in a different format too?
The text was updated successfully, but these errors were encountered: