-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
Fix documentation, make ISO date format standard in some places #1186
Conversation
@@ -132,7 +132,7 @@ Render a journal transaction as text in the style of Ledger's print command. | |||
Ledger 2.x's standard format looks like this: | |||
|
|||
@ | |||
yyyy/mm/dd[ *][ CODE] description......... [ ; comment...............] | |||
yyyy-mm-dd[ *][ CODE] description......... [ ; comment...............] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not correct I think, both Ledger 2 and 3 print dates with slashes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, right. But this is the documentation for the showTransaction function, so we also have to fix the sentence above my change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the above part of comment.
@@ -14,7 +14,7 @@ From timeclock.el 2.6: | |||
A timeclock contains data in the form of a single entry per line. | |||
Each entry has the form: | |||
|
|||
CODE YYYY/MM/DD HH:MM:SS [COMMENT] | |||
CODE YYYY-MM-DD HH:MM:SS [COMMENT] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.ledger-cli.org/3.0/doc/ledger3.html#Time-Keeping says it contains slashes, but Ledger reads slash or dash or dot, like hledger. Emacs' timeclock.el requires slashes. I can tweak this comment later maybe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reverted this change for now, to keep the compatibility to the original doc and Emacs.
ff0d276
to
d27f521
Compare
For #933