X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=i2oX0zvSzZOqctynDfo9DFUlKKCHPmUHFKJUn/uqm401ltAZsg+fj sT6NiY8+CoA8vz7XDFeLYirpO4NPlQUIfhEMY4JB1oO0oIWwyNwngx67QGWp/7aa lEAJvoMo0ehmLtSFjFXVOnLx63yP/lHpN4tLN7KVjNqoqax+2IkvIw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=EpXuhSKcIc1RoNFvOfI6Ln1GeRM=; b=WkmcDeU40ooloe03Z6N0J5XnTvwY uSrDTO7ubDE4rfHAhaxxQx5F71C9v5zs4o7Rtiasmrzqzck5WliDxUc00slHx53V EkW59Loc2kq9q2nkyUp1UXQ3YrcszzhR7gZyykstX56/+j9BtQC7QooLrZlvPAj3 fTELLEUhyMo6jrQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Siv Subject: Re: Cygwin date displays only GMT on Win7 Date: Wed, 8 Jul 2015 14:07:23 +0000 (UTC) Lines: 46 Message-ID: References: <559C0744 DOT 8050602 AT gmail DOT com> <559C38DF DOT 9010602 AT gmail DOT com> <559C40BE DOT 7050101 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Marco Atzeri gmail.com> writes: > > On 7/7/2015 10:38 PM, Marco Atzeri wrote: > > On 7/7/2015 9:50 PM, Siv wrote: > >> Siv gmail.com> writes: > >> > > >> > >> $ date --date='TZ="Asia/Calcutta"' > >> 06 Jul 2015 06:30:00 PM > > > > Wrong town ? > > tzselect suggests > ---------------------------- > #? 14 > > The following information has been given: > > India > > Therefore TZ='Asia/Kolkata' will be used. > ------------------------------ > > In theory Asia/Calcutta should be an alias for Asia/Kolkata; > but it seems to not work properly. > > Regards > Marco > > date --date='TZ="ANYTHING" isn't working as expected Thanx. Anyway the last 2 cmds worked : date Wed, Jul 08, 2015 2:03:12 PM date -u Wed, Jul 08, 2015 2:03:13 PM date --date='TZ="Asia/Delhi"' Wed, Jul 08, 2015 12:00:00 AM date --date='TZ="Asia/Calcutta"' Tue, Jul 07, 2015 6:30:00 PM date --date='TZ="Asia/Kolkata"' Tue, Jul 07, 2015 6:30:00 PM TZ=Asia/Delhi date Wed, Jul 08, 2015 2:03:14 PM TZ=Asia/Kolkata date Wed, Jul 08, 2015 7:33:15 PM TZ=Asia/Calcutta date Wed, Jul 08, 2015 7:33:15 PM -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple