Re: [O] [PATCH] European date format

2011-04-08 Thread Carsten Dominik
Applied, thanks. On Mar 4, 2011, at 6:56 PM, Jan Seeger wrote: Greetings! I was annoyed that org only read the bassackwards american date format, and implemented european date format matching. I hope it's correct, it seems to work for dates with and without year. Regards, Jan

[O] [PATCH] European date format

2011-03-04 Thread Jan Seeger
Greetings! I was annoyed that org only read the bassackwards american date format, and implemented european date format matching. I hope it's correct, it seems to work for dates with and without year. Regards, Jan org-patch.patch Description: Binary data

Re: [O] [PATCH] European date format

2011-03-04 Thread Nick Dokos
Jan Seeger jan.see...@thenybble.de wrote: Greetings! I was annoyed that org only read the bassackwards american date format, and implemented european date format matching. I hope it's correct, it seems to work for dates with and without year. It would help if you provided a few examples

Re: [O] [PATCH] European date format

2011-03-04 Thread Jan Seeger
Hey! Ah, I'm sorry. Yeah, european format is Day.Month.Year (optional). And the final trailing dot is intentional, because I think it looks nicer (and I think it simplifies the regex). Also, my last mail was missing a smiley, I was only kidding of course. Regards, Jan

Re: [O] [PATCH] European date format

2011-03-04 Thread Nick Dokos
Jan Seeger jan.see...@thenybble.de wrote: Hey! Ah, I'm sorry. Yeah, european format is Day.Month.Year (optional). And the final trailing dot is intentional, because I think it looks nicer (and I think it simplifies the regex). Also, my last mail was missing a smiley, I was only kidding of

Re: [O] [PATCH] European date format

2011-03-04 Thread Achim Gratz
Nick Dokos nicholas.do...@hp.com writes: 4.3. == the fourth day of March, 2011 4.3 == does not match As it should, IMHO. This format is relying on interpreting dates as ordinals (fourth day of the third month). Also there'd be no way for a regex to distinguish some dates from some FP