added test for specific weekdays of week

This commit is contained in:
gorhill 2013-09-02 08:05:09 -04:00
parent b353b8f1d8
commit ed7ab26608
1 changed files with 9 additions and 0 deletions

View File

@ -107,6 +107,15 @@ var crontests = []crontest{
},
},
// Specific weekdays of week
{
"0 0 * * 6#5",
"Mon 2006-01-02 15:04",
[]crontimes{
{"2013-09-02 00:00:00", "Sat 2013-11-30 00:00"},
},
},
// TODO: more tests
}