Add support for RFC2822 to util.parsedate().
authorMarkus F.X.J. Oberhumer <markus@oberhumer.com>
Mon, 25 Jun 2007 14:46:20 +0200
changeset 4708 01f9ee4de1ad
parent 4707 3fd4dde37628
child 4709 53eca35c3aeb
Add support for RFC2822 to util.parsedate().
mercurial/util.py
--- a/mercurial/util.py	Mon Jun 25 14:46:20 2007 +0200
+++ b/mercurial/util.py	Mon Jun 25 14:46:20 2007 +0200
@@ -105,6 +105,7 @@
     '%m/%d/%Y',
     '%a %b %d %H:%M:%S %Y',
     '%a %b %d %I:%M:%S%p %Y',
+    '%a, %d %b %Y %H:%M:%S',        #  GNU coreutils "/bin/date --rfc-2822"
     '%b %d %H:%M:%S %Y',
     '%b %d %I:%M:%S%p %Y',
     '%b %d %H:%M:%S',