id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc
25,Constructor and representer for datetimes with timezone do not match,lele@…,xi,"I noticed what seems a little glitch in PyYAML handling of datetime when they carry a timezone. 

The [source:/pyyaml/trunk/lib/yaml/constructor.py#222#L299 regexp] used to match the various fields assumes there is a separator between the fractional part and the timezone offset, while the [source:/pyyaml/trunk/lib/yaml/representer.py#222#L253 representer] simply appends the offset without any separator, effectively resulting in a wrong representation (in the case the offset is positive).

Moreover, `unicode(data.utcoffset())` gives something like ""`-1 day, 22:00`"" for an offset of -2 hours.",defect,closed,normal,pyyaml,normal,fixed,,
