From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 287771BA0109 for ; Tue, 23 May 2017 23:53:03 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id B1F2AB5D88A for ; Wed, 24 May 2017 00:39:21 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 9E6B618CC81C for ; Wed, 24 May 2017 00:39:22 +0900 (JST) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5959D1207F8; Wed, 24 May 2017 00:39:22 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 687EF1207B9 for ; Wed, 24 May 2017 00:39:18 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=cP+2IksRKpIlok9Xz9ZZjBlOLI4=; b=R8qeUul3UNHQ4JjGOQ 9lojWj3NYlcV4Gw+1Vv+C1+gZnCIOkzpJGKRs8ESWKSoI89ocrlDtt5j+8gT6AhP 1xiQI9ANZ0E2QXBM/8T9Tkyiw3lCrcQy51DLS6E4iPBsQljpQTSG5WSwDIMqQFfI xsLpXpVA2CgWrb+Cr/8L+VVLs= Received: by filter0810p1mdw1.sendgrid.net with SMTP id filter0810p1mdw1-18130-59245796-36 2017-05-23 15:39:02.322841241 +0000 UTC Received: from herokuapp.com (ec2-23-23-63-109.compute-1.amazonaws.com [23.23.63.109]) by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id Z9gl6BA2TCq9asU5_GvWhw Tue, 23 May 2017 15:39:02.304 +0000 (UTC) Date: Tue, 23 May 2017 15:39:02 +0000 From: Greg.mpls@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 56385 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13591 X-Redmine-Issue-Author: MSP-Greg X-Redmine-Sender: MSP-Greg X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5HR1mLy+scdS9JGpGnROjDyfmaVjE5e/pJIi DI/Le0xWuqDbuTQSA3/Yi+gZWb0149zW5a+cbo5DHS4BCHWoDcYTjGKyDhSXmIeVKij6sqjEf6jUeo tKqbpeDBVw+j42RKo4/I8JfQMAmmeG04QKmOuJXI2RAaLiuSJSzbdP/VXw== X-ML-Name: ruby-core X-Mail-Count: 81354 Subject: [ruby-core:81354] [Ruby trunk Bug#13591] spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ'] X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #13591 has been updated by MSP-Greg (Greg L). Using a MinGW build, ENV['TZ'] seemed to have no affect on Time, and [time zone spec tests](https://msp-greg.github.io/file.mingw_test-all.html#mspec-1-failure) failed. I had previously been looking at 'Microsoft Time Zone Index Values'. Time#zone returns a value from the list, but setting ENV['TZ'] to another value did not seem to have the expected result. Given that spec tests are not currently included in appveyor, do you know if the test ['defaults to UTC when bad zones given'](https://github.com/ruby/ruby/blob/trunk/spec/rubyspec/core/time/zone_spec.rb#L65-L77) passes on a mswin64 build? ---------------------------------------- Bug #13591: spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ'] https://bugs.ruby-lang.org/issues/13591#change-65049 * Author: MSP-Greg (Greg L) * Status: Rejected * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.0dev (2017-05-18 trunk 58780) [x64-mingw32] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Windows does not support ENV['TZ'], so it should be removed from rspec tests. See [GitHub PR 1627](https://github.com/ruby/ruby/pull/1627) -- https://bugs.ruby-lang.org/