From: Bob Showalter Date: 2006-01-25T22:28:31+09:00 Subject: Re: Printing RFC3339 timezone? csn wrote: > How can I print a valid RFC3339 time zone (used by Atom)? Presumably > using strftime; which outputs -HHMM for "%z" (which isn't documented), > but RFC3339 requires -HH:MM (I know RFC3339 allows 'Z', but I'd like the > actual time zone). Take a look at: http://www.ruby-doc.org/stdlib/libdoc/time/rdoc/classes/Time.html#M004641