comparison mercurial/util.py @ 4708:01f9ee4de1ad

Add support for RFC2822 to util.parsedate().
author Markus F.X.J. Oberhumer <markus@oberhumer.com>
date Mon, 25 Jun 2007 14:46:20 +0200
parents 849f011dbf79
children 72fb6f10fac1
comparison
equal deleted inserted replaced
4707:3fd4dde37628 4708:01f9ee4de1ad
103 '%m/%d', 103 '%m/%d',
104 '%m/%d/%y', 104 '%m/%d/%y',
105 '%m/%d/%Y', 105 '%m/%d/%Y',
106 '%a %b %d %H:%M:%S %Y', 106 '%a %b %d %H:%M:%S %Y',
107 '%a %b %d %I:%M:%S%p %Y', 107 '%a %b %d %I:%M:%S%p %Y',
108 '%a, %d %b %Y %H:%M:%S', # GNU coreutils "/bin/date --rfc-2822"
108 '%b %d %H:%M:%S %Y', 109 '%b %d %H:%M:%S %Y',
109 '%b %d %I:%M:%S%p %Y', 110 '%b %d %I:%M:%S%p %Y',
110 '%b %d %H:%M:%S', 111 '%b %d %H:%M:%S',
111 '%b %d %I:%M:%S%p', 112 '%b %d %I:%M:%S%p',
112 '%b %d %H:%M', 113 '%b %d %H:%M',