crontab: adding some Feb 29th tests.

windows-drag
John Benediktsson 2019-03-24 08:34:03 -07:00
parent 6f8ee02569
commit 92bf1786de
1 changed files with 11 additions and 0 deletions

View File

@ -129,3 +129,14 @@ CONSTANT: start-timestamp T{ timestamp
"Sun, 21 Apr 2019 00:00:00 -0700" "Sun, 21 Apr 2019 00:00:00 -0700"
} }
} [ "@weekly" next-few-times ] unit-test } [ "@weekly" next-few-times ] unit-test
! At 00:00 on day-of-month 29 in February.
{
{
"Sat, 29 Feb 2020 00:00:00 -0700"
"Thu, 29 Feb 2024 00:00:00 -0700"
"Tue, 29 Feb 2028 00:00:00 -0700"
"Sun, 29 Feb 2032 00:00:00 -0700"
"Fri, 29 Feb 2036 00:00:00 -0700"
}
} [ "0 0 29 2 *" next-few-times ] unit-test