[Bug 11706] Why -00:00 instead of +00:00 when time zone is UTC?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11706

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-01-09 17:42:54 UTC ---
This looks a bit odd and is quite annoying as it makes it very difficult to use
any existing software to generate this normalized format. Examples:

* UNIX: date -u "+%:z" gives "+00:00"

* C: printf("%+03d\n", 0) gives "+00"

* Python: str(t) where t is a datetime.time and t.tzinfo.utcoffset() returns 0
gives e.g. "18:40:12+00:00"

These are just the cases I've encountered, I'm sure the list of things that
uses + for 0 can be made very long.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 9 January 2011 17:42:57 UTC