Am 28.06.2012 15:08, schrieb Tanaka Akira:
> However Ruby 1.8's %Z behavior is intended behavior because
> Ruby 1.8 uses just a strftime() in libc.
> So, this issue is a new feature request.

I disagree.

A programmer should not have to worry about the implementation of
the method. Furthermore, in the documentation #strftime is not marked
as a mere wrapper for the C library's strftime().

The different behavior of strftime('%Z') and #zone / #to_s
is unexpected and seems even contradictory to the statement
in the #zone documentation, that "UTC" is used since 1.8.

Regards,
Marcus


-- 
<https://github.com/stomar/>