mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Change "next" back to 2. In the context of "next Friday" we really
do want the friday of the upcoming (not current) week. Unfortunately, this means that things like "next week" and "next year" will match one more than we really want. Fixing this will require some fairly major changes to the grammar.
This commit is contained in:
parent
d197e42d4b
commit
9a657e884d
10
NEWS
10
NEWS
@ -66,11 +66,11 @@ What's new in Sudo 1.8.8?
|
|||||||
to the I/O log timing file are two greater than they should be.
|
to the I/O log timing file are two greater than they should be.
|
||||||
Sudoreplay now contains a work-around to parse those files.
|
Sudoreplay now contains a work-around to parse those files.
|
||||||
|
|
||||||
* In sudoreplay's list mode, the "this" and "next" qualifiers in
|
* In sudoreplay's list mode, the "this" qualifier in "fromdate"
|
||||||
"fromdate" or "todate" expressions now behave more sensibly.
|
or "todate" expressions now behaves more sensibly. Previously,
|
||||||
Previously, they would often match a date that was "one more"
|
it would often match a date that was "one more" than expected.
|
||||||
than expected. For example "this week" now matches the current
|
For example, "this week" now matches the current week instead
|
||||||
week and not the following week.
|
of the following week.
|
||||||
|
|
||||||
What's new in Sudo 1.8.7?
|
What's new in Sudo 1.8.7?
|
||||||
|
|
||||||
|
@ -444,7 +444,7 @@ static TABLE const OtherTable[] = {
|
|||||||
{ "now", tMINUTE_UNIT, 0 },
|
{ "now", tMINUTE_UNIT, 0 },
|
||||||
{ "last", tUNUMBER, -1 },
|
{ "last", tUNUMBER, -1 },
|
||||||
{ "this", tUNUMBER, 0 },
|
{ "this", tUNUMBER, 0 },
|
||||||
{ "next", tUNUMBER, 1 },
|
{ "next", tUNUMBER, 2 },
|
||||||
{ "first", tUNUMBER, 1 },
|
{ "first", tUNUMBER, 1 },
|
||||||
/* { "second", tUNUMBER, 2 }, */
|
/* { "second", tUNUMBER, 2 }, */
|
||||||
{ "third", tUNUMBER, 3 },
|
{ "third", tUNUMBER, 3 },
|
||||||
|
@ -376,7 +376,7 @@ static TABLE const OtherTable[] = {
|
|||||||
{ "now", tMINUTE_UNIT, 0 },
|
{ "now", tMINUTE_UNIT, 0 },
|
||||||
{ "last", tUNUMBER, -1 },
|
{ "last", tUNUMBER, -1 },
|
||||||
{ "this", tUNUMBER, 0 },
|
{ "this", tUNUMBER, 0 },
|
||||||
{ "next", tUNUMBER, 1 },
|
{ "next", tUNUMBER, 2 },
|
||||||
{ "first", tUNUMBER, 1 },
|
{ "first", tUNUMBER, 1 },
|
||||||
/* { "second", tUNUMBER, 2 }, */
|
/* { "second", tUNUMBER, 2 }, */
|
||||||
{ "third", tUNUMBER, 3 },
|
{ "third", tUNUMBER, 3 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user