ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: nobu@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:71769] [Ruby trunk - Bug #11755] [Feedback] ENV['TZ'] timezone
Date: Tue, 01 Dec 2015 04:22:28 +0000	[thread overview]
Message-ID: <redmine.journal-55179.20151201042226.935ccc607dffcaff@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-11755.20151201034952@ruby-lang.org

Issue #11755 has been updated by Nobuyoshi Nakada.

Subject changed from ENv['TZ'] timezone to ENV['TZ'] timezone
Description updated
Status changed from Open to Feedback

Seems correct output.
What do you expect?

----------------------------------------
Bug #11755: ENV['TZ'] timezone
https://bugs.ruby-lang.org/issues/11755#change-55179

* Author: Jon Xie
* Status: Feedback
* Priority: Normal
* Assignee: 
* ruby -v: 2.2.3
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
~~~ruby
2.2.3 :001 > Time.now
 => 2015-12-01 11:35:06 +0800 
2.2.3 :002 > ENV['TZ'] = 'GMT+8'; Time.now
 => 2015-11-30 19:35:18 -0800 
2.2.3 :003 > ENV['TZ'] = 'GMT-8'; Time.now
 => 2015-12-01 11:35:24 +0800
~~~

Why is this so?



-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2015-12-01  3:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-11755.20151201034952@ruby-lang.org>
2015-12-01  3:49 ` [ruby-core:71766] [Ruby trunk - Bug #11755] [Open] ENv['TZ'] timezone xiejiangzhi
2015-12-01  3:55 ` [ruby-core:71767] [Ruby trunk - Bug #11755] " xiejiangzhi
2015-12-01  4:22 ` nobu [this message]
2015-12-01  5:24 ` [ruby-core:71770] [Ruby trunk - Bug #11755] ENV['TZ'] timezone xiejiangzhi
2015-12-01  5:46 ` [ruby-core:71771] " matthew
2015-12-01  6:05 ` [ruby-core:71772] " xiejiangzhi
2015-12-01  7:02 ` [ruby-core:71775] " xiejiangzhi
2015-12-01  9:55 ` [ruby-core:71777] [Ruby trunk - Bug #11755] [Third Party's Issue] " nobu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-55179.20151201042226.935ccc607dffcaff@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).