This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin date displays only GMT on Win7


Marco Atzeri <marco.atzeri <at> gmail.com> writes:

> 
> On 7/7/2015 10:38 PM, Marco Atzeri wrote:
> > On 7/7/2015 9:50 PM, Siv wrote:
> >> Siv <sivakumarjr <at> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]