[#11073] segfault printing instruction sequence for iterator — <noreply@...>

Bugs item #10527, was opened at 2007-05-02 14:42

14 messages 2007/05/02
[#11142] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Nobuyoshi Nakada <nobu@...> 2007/05/10

Hi,

[#11188] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Paul Brannan <pbrannan@...> 2007/05/16

On Thu, May 10, 2007 at 04:51:18PM +0900, Nobuyoshi Nakada wrote:

[#11234] Planning to release 1.8.6 errata — Urabe Shyouhei <shyouhei@...>

Hi all.

17 messages 2007/05/25

[ ruby-Bugs-6368 ] Time Changes Zones

From: <noreply@...>
Date: 2007-05-29 17:21:32 UTC
List: ruby-core #11302
Bugs item #6368, was opened at 2006-10-27 16:45
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=6368&group_id=426

Category: Triage (do not select)
Group: 1.8.x
Status: Open
Resolution: None
Priority: 3
Submitted By: David Wheeler (theory)
>Assigned to: Shyouhei Urabe (shyouhei)
Summary: Time Changes Zones

Initial Comment:
When I set the TZ environment variable, Time.now properly sets the time zone (or, more specifically, the alias). But if I change the TZ environment variable to something else (or unset it), the existing time object will have its zone changed, too! Witness:


#!/usr/bin/ruby -w

tz = ENV['TZ']
ENV['TZ'] = 'Africa/Luanda'
t = Time.now
puts t
ENV['TZ'] = 'Australia/Lord_Howe'
puts t

And the output:

Sat Oct 28 00:41:30 WAT 2006
Sat Oct 28 00:41:30 LHST 2006

I think that the second output should also have "WAT" for the time zone.

Thanks!

David Wheeler <david@justatheory.com>

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=6368&group_id=426

In This Thread

Prev Next