delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/14/05:09:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <51419398.9080200@wmc.eu>
Date: Thu, 14 Mar 2013 10:08:40 +0100
From: Marten Jan de Ruiter <m DOT j DOT deruiter AT wmc DOT eu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [closed] Intel FORTRAN time_and_date function returns UTC instead of local time
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Today, the problems with the date_and_time function were gone. I have no 
clue what solved the issue. I did not install upgrades from Cygwin. I 
did not recompile the program.

What I did differently, is that I have used the Cygwin Bash shell, the 
Cygwin terminal and the Cygwin-X W-win server, and played around with 
the options of the Cygwin Terminal. There is configuration page for Text 
containing a font field, a field for font options, and a field for the 
locale and character set. I have played a bit with the locale. 
Afterwards, I noticed that my program now issues the correct time, even 
when the option is restored to the (Default) setting it was in 
originally. I assume that this playing around corrected the glitch, but 
the details escape me.

Still, a month ago, I also played around with setting the locale on the 
command line in the Cygwin Bash login, and that did not resolve the 
issue; so "playing around with the locale" is not the entire story.

I am a bit unsatisfied that I do not know what clicked right under the 
hood of Cygwin, but pragmatical enough to enjoy that the issue is gone.

Thanks for the effort!


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019