mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Fix grammar and spelling
Use notations 'Clang'/'GCC', 'Asciidoctor', 'Make', 'Git', 'CMake' when referring to the tool, not the command Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
9299fd3e39
commit
77fb1851a7
5 changed files with 17 additions and 17 deletions
|
@ -332,7 +332,7 @@ bool DatetimeParser::parse_named (Pig& pig)
|
|||
{
|
||||
auto checkpoint = pig.cursor ();
|
||||
|
||||
// Experimental handling of date phrases, such as "first monday in march".
|
||||
// Experimental handling of date phrases, such as "first monday in March".
|
||||
// Note that this requires that phrases are delimited by EOS or WS.
|
||||
std::string token;
|
||||
std::vector <std::string> tokens;
|
||||
|
|
|
@ -146,8 +146,8 @@ std::vector <Interval> expandLatest (const Interval& latest, const Rules& rules)
|
|||
std::vector <Interval> flattened = flatten (latest, exclusions);
|
||||
|
||||
// If flatten() converted the latest interval into a group of synthetic
|
||||
// intervals, the number of returned intervals will be greater than 1,
|
||||
// otherwise, it just returned the non-synthetic, latest interval.
|
||||
// intervals, the number of returned intervals will be greater than 1.
|
||||
// Otherwise, it just returned the non-synthetic, latest interval.
|
||||
if (flattened.size () > 1)
|
||||
{
|
||||
std::reverse (flattened.begin (), flattened.end ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue