Re: [Nmh-workers] Date syntax
Jerrad Pierce belg4...@pthbb.org writes: FTM In addition to 822-style dates, pick will also recognize any of the days of the week (sunday, monday, and so on), and the special dates today, yesterday (24 hours ago), and tomorrow (24 hours from now). All days of the week are judged to refer to a day in the past (e.g., telling pick saturday on a tuesday means last saturday not this saturday). http://www.ietf.org/rfc/rfc0822.txt Thank you, instead of RTFMing the man I just searched it for rfc. Norman Shapiro 798 Barron Avenue Palo Alto CA 94306-3109 (650) 565-8215 n...@dad.org ___ Nmh-workers mailing list Nmh-workers@nongnu.org https://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] Date syntax
FTM In addition to 822-style dates, pick will also recognize any of the days of the week (sunday, monday, and so on), and the special dates today, yesterday (24 hours ago), and tomorrow (24 hours from now). All days of the week are judged to refer to a day in the past (e.g., telling pick saturday on a tuesday means last saturday not this saturday). http://www.ietf.org/rfc/rfc0822.txt ___ Nmh-workers mailing list Nmh-workers@nongnu.org https://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [Nmh-workers] Date syntax
Would somebody please point me to a specification of the date syntax used by pick and sortm. Looks like it's ... according to the man page for pick ... RFC-822, plus a few extras. In the case of sortm, it's just the RFC-822 parser that we have. We're talking about the -before and -after switches to pick; the -date switch is just a pattern match. I remember some non-obvious things about -before and -after ... in some cases, if you saw things like yesterday, it's 24 hours previous to now, rather than the whole day of yesterday. But anyway, if it's not a special time as listed in the pick man page, it uses the RFC-822 date parser. --Ken ___ Nmh-workers mailing list Nmh-workers@nongnu.org https://lists.nongnu.org/mailman/listinfo/nmh-workers