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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=t7hBWgjRa4Ex0nGxAJVKagunJGlfKkbKU/CRbkd7p4XCjzppG5XJb Pboy0PuV06rEvbCv91OqW0Jy0glMxNKSTd6rwm/0EdmjNXStsin5IV26rIAHE7Lw Lk83DmBW0/2y5FotX4xtySF2kB6qgjow+c2lJPmY5wQUmGV6Xl4JiY= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=UhyoriLDNY92NZyxPMfKTRcCHHo=; b=fELocl/AnSulitIex9tyWS/zF0MJ 5S2JlBLeLtHW1P8KbHCMan3SBmYCiL8P7kKD5T+/61zKWL2h/VzVJRrzSGEST67e q2Iu9jGJcwTvIB335pH4EfzZS2K3H4J8O9POKDCEe0rrwXdVJjnWD5TkKpgODv6V sFo+2Ah0cs40YVI= 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=-4.7 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 9 Jul 2015 10:04:45 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Cygwin date displays only GMT on Win7 Message-ID: <20150709080445.GJ2918@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0D835E9B9CD07F40A48423F80D3B5A702E8FEE8A AT USA7109MB022 DOT na DOT xerox DOT net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="APsrsY0yTFDXy1q8" Content-Disposition: inline In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E8FEE8A@USA7109MB022.na.xerox.net> User-Agent: Mutt/1.5.23 (2014-03-12) --APsrsY0yTFDXy1q8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 8 20:41, Nellis, Kenneth wrote: > Siv wrote: > >=20 > > date --date=3D'TZ=3D"ANYTHING" isn't working as expected > > Thanx. Anyway the last 2 cmds worked : > >=20 > > date Wed, Jul 08, 2015 2:03:12 PM > > date -u Wed, Jul 08, 2015 2:03:13 PM > > date --date=3D'TZ=3D"Asia/Delhi"' Wed, Jul 08, 2015 12:00:0= 0 AM > > date --date=3D'TZ=3D"Asia/Calcutta"' Tue, Jul 07, 2015 6:30:0= 0 PM > > date --date=3D'TZ=3D"Asia/Kolkata"' Tue, Jul 07, 2015 6:30:0= 0 PM > > TZ=3DAsia/Delhi date Wed, Jul 08, 2015 2:03:14 = PM > > TZ=3DAsia/Kolkata date Wed, Jul 08, 2015 7:33:15 = PM > > TZ=3DAsia/Calcutta date Wed, Jul 08, 2015 7:33:15 = PM > >=20 >=20 > As expected??=20 > Where did you get this --date=3D'TZ=3D..." syntax?? Not anywhere I could = find. >=20 > --date=3DSTRING >=20 > Read the man page. >=20 > STRING works like this: >=20 > $ date > Wed Jul 8 16:38:44 EDT 2015 > $ date --date=3DThursday > Thu Jul 9 00:00:00 EDT 2015 > $ date --date=3D"last Monday" > Mon Jul 6 00:00:00 EDT 2015 > $ date --date=3D"25 dec 2016" > Sun Dec 25 00:00:00 EST 2016 > $ >=20 > --Ken Nellis Also, Asia/Delhi is not a valid timezone. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --APsrsY0yTFDXy1q8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVnisdAAoJEPU2Bp2uRE+gkdQP/ihhxutWz/ORRCQ+UgmPas5b UHXrh0sw/a/GpjaoaVJLViv0SIXnQWTy0vMa3NSO5lXv6GGwDaP66F5gLQE0svF7 Qu3y1vgT40qTorQ5MRgn8dwmSrbbTnAPP0vsml/g7dxKMDohWTQz4l1jEgSXrGMQ cT2Zk0tZmAYT+lt8NDyzDfOT27h69O8PDKRvNTwv1h8BMRH6wfAStJzn7x2kCACj CK/ny7X5NoQm2WjzGJsKduBU2JLxKwFrh5o6Q3WdiST+wIZ6hCncBCCDQb4AMi0Z K85PpiJDGHUJj2Az01+bHRBsSQ050C5CevjKzBZNAkn79drQ3PDMTyrfAkq7OINQ bSkWHVlG0dhdZ374v3YZ16pJeos1L5BPoZpD4WW9ZuRWcR1s63X5pNxSK49dE2Ro vaiI+XHRj9+Jo9wF6vVllvSssDL6CjaNJhjsZ1ONk5ZTov9RbVdsdLYffcygaTYc 1cW0Nc32cpmGPD2HJdskR5hvQc6B+nipWp0jCseyctIa4YEg3XthKB/drNqqTfY3 ue6H7DbvC82mjDypQ7YCZv0NwtsX+pUDHuLeh8i7YwO4NGOCAVQzgcCPxiVxlDV/ KGs+5y2saZPWfCX6alri4qvfeBD0qz7PxtEzb31rAHCNi6YzonyCdEwbE/o4P4Tb vfUGyGzLouzBi5yb8M61 =h2YJ -----END PGP SIGNATURE----- --APsrsY0yTFDXy1q8--