Specification clarifications #391
Replies: 9 comments
-
|
As a side note: The specification has been a tremendous help when writing the VS Code syntax highlighting. |
Beta Was this translation helpful? Give feedback.
-
|
🙇 I’ve already fixed the phrasing and the CLI error regarding RangeMy reasoning was this: I didn’t want to be too strict about whitespace unless that would lead to ambiguity. I think it’s important to support both DurationI like that suggestion, it makes a lot of sense. What do you think about:
I was also thinking about using the term Organizing records in filesThis is similar to the whitespace in the range: there must be one blank line, but a document shouldn’t be rejected if there are more blank lines. (The recommendation is exactly one blank line, though.) Maybe better:
|
Beta Was this translation helpful? Give feedback.
-
Awesome 🎉
Definitely tricky. My suggestion would be to something similar to: Possibly, you could fit in some recommendation to have not have more than one space on either side:
Ah, I glossed over this. When I started writing the syntax highlighter I remember being confused to whether a number could contain decimals or not. I am unsure what the best approach would be, but some clarification what a number must only contain "digits".
That is definitely better. My suggestion would be to specify the blank lines in singular, since I can interpret My final suggestion would be something in the veins of Please note that I think this also could be written better, but I just cannot find that "one-liner" which encapsulates it all. |
Beta Was this translation helpful? Give feedback.
-
RangeAgree, the term
Number <> IntegerI think the best is to use Blank linesHaha, oh god, this is brain-racking 😆 How about:
It’s only a slight change in the phrasing. I would read the first statement like this now: there needs to be a blank line somewhere between records, but it doesn’t restrict what else there might appear additionally. |
Beta Was this translation helpful? Give feedback.
-
|
I think all these would be great additions 👍 |
Beta Was this translation helpful? Give feedback.
-
|
(Not sure whether you were notified by Github: #11) |
Beta Was this translation helpful? Give feedback.
-
|
Hang on, what happened with this bit? 🤣
You agreed with that, didn’t you? Then I’ll add it as well. |
Beta Was this translation helpful? Give feedback.
-
|
I, uh, missed that 😅. That is an addition I want to be added :) |
Beta Was this translation helpful? Give feedback.
-
|
Added 2b8eca9 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been reading through the specification, and I believe there are a few things which needs further clarifications.
I. Records
Summary
Incorrect wording, I believe.
Range
Ambigious. Can there be ...
klog currently actually accepts ranges in the format of
00:00 -01:11Incorrect wording. Maybe use "in a recurring succession"?
Duration
I would very much like to see a clarification that the minute part cannot be greater than 59, if it is in combination with an hour part. I assume this is the intended behaviour, since klog throws an error if the minutes are greater than 60. However, surprisingly it actually accepts
1h60mand interprets that as2h. I believe this is a bug with the program, but I might be wrong.II. Organizing records in files
Contradictory. I interpret the first sentence as "must be separated by one and only one blank line". I wish for this to be clarified.
Beta Was this translation helpful? Give feedback.
All reactions