|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Andriy Gapon 2:5020/400 30 Nov 2005 16:37:52 To : Andriy Gapon Subject : Re: calendar problem -------------------------------------------------------------------------------- on 30/11/2005 13:32 Andriy Gapon said the following: > send-pr вобщем че-то у меня subject слетел. могу подсказать правильные слова для PR: calendar doesn't properly handle weekday specifications when specified weekday falls on tomorrow and tomorrow is the first day of the next month: 1) calendar may internally treat first <weekday> of the next month as fifth <weekday> of this month and thus fail to match it 2) calendar may "invent" "extra" days in month if <weekday> falls onto next month How to reproduce: $ cat > /tmp/calendar.test <<CALENDAR Thu test entry for every Thursday Thu+1 test entry for first Thursday CALENDAR $ calendar -f /tmp/calendar.test -t 30.11.2005 31 Nov* test entry for every Thursday $ calendar -f /tmp/calendar.test -t 01.12.2005 1 Dec* test entry for every Thursday 1 Dec* test entry for first Thursday -- Andriy Gapon --- ifmail v.2.15dev5.3 * Origin: Anonymous Partisans Online (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/9873ff9cf94a.html, оценка из 5, голосов 10
|