From: <de...@de...> - 2017-06-01 06:22:21
|
Author: HideyoImazu Date: 2017-06-01 06:12:55 +0000 (Thu, 01 Jun 2017) New Revision: 30349 Trac url: http://develop.twiki.org/trac/changeset/30349 Modified: twiki/trunk/core/lib/TWiki.pm Log: Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving time queries/problems. TWiki uses GMT but (I believe probably) should use BST Modified: twiki/trunk/core/lib/TWiki.pm =================================================================== --- twiki/trunk/core/lib/TWiki.pm 2017-05-31 09:07:58 UTC (rev 30348) +++ twiki/trunk/core/lib/TWiki.pm 2017-06-01 06:12:55 UTC (rev 30349) @@ -2386,7 +2386,8 @@ if ( $log ) { $log = _fileNameToPath( $log ); - my $time = TWiki::Time::formatTime( time(), '$year-$mo-$day - $hour:$min:$sec', 'gmtime' ); + my $time = TWiki::Time::formatTime( time(), '$year-$mo-$day - $hour:$min:$sec' ); + # ommitting the third argument ($outputTimeZone) to resort to $TWiki::cfg{DisplayTimeValues} as per Item7811 if( open( FILE, ">>$log" ) ) { print FILE "| $time | $message\n"; |
From: <rhk...@gm...> - 2017-06-01 12:26:29
|
On Thursday, June 01, 2017 02:12:55 AM de...@de... wrote: > Log: > Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving time > queries/problems. TWiki uses GMT but (I believe probably) should use BST Really? Why? |
From: Imazu, H. <Hid...@mo...> - 2017-06-02 01:49:03
|
The commit is not specifically about BST. The item is about using local time instead of GMT if so specified. And now, the code is made that way. -----Original Message----- From: rhk...@gm... [mailto:rhk...@gm...] Sent: Thursday, June 01, 2017 21:26 To: TWiki-Dev list for developers Subject: Re: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib On Thursday, June 01, 2017 02:12:55 AM de...@de... wrote: > Log: > Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving > time queries/problems. TWiki uses GMT but (I believe probably) should > use BST Really? Why? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ TWiki-Dev mailing list TWi...@li... https://lists.sourceforge.net/lists/listinfo/twiki-dev -------------------------------------------------------------------------------- NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By communicating with Morgan Stanley you consent to the foregoing and to the voice recording of conversations with personnel of Morgan Stanley. |
From: <rhk...@gm...> - 2017-06-02 16:24:09
|
On Thursday, June 01, 2017 09:48:52 PM Imazu, Hideyo wrote: > The commit is not specifically about BST. The item is about using local > time instead of GMT if so specified. And now, the code is made that way. Thanks--I noticed that, but I still wondered why you thought BST would be a better choice than GMT. > -----Original Message----- > On Thursday, June 01, 2017 02:12:55 AM de...@de... wrote: > > Log: > > Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving > > time queries/problems. TWiki uses GMT but (I believe probably) should > > use BST > > Really? Why? |
From: Imazu, H. <Hid...@mo...> - 2017-06-04 22:53:38
|
The summary of the item is misleading. I understand the person who reported/created the item lives in the BST time zone and wanted a way to have time stamps in their local time zone. So I've updated the summary as: TWiki always uses GMT for time stamps on log files but local time should be an option. -----Original Message----- From: rhk...@gm... [mailto:rhk...@gm...] Sent: Saturday, June 03, 2017 01:24 To: TWiki-Dev list for developers Subject: Re: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib On Thursday, June 01, 2017 09:48:52 PM Imazu, Hideyo wrote: > The commit is not specifically about BST. The item is about using > local time instead of GMT if so specified. And now, the code is made that way. Thanks--I noticed that, but I still wondered why you thought BST would be a better choice than GMT. > -----Original Message----- > On Thursday, June 01, 2017 02:12:55 AM de...@de... wrote: > > Log: > > Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving > > time queries/problems. TWiki uses GMT but (I believe probably) > > should use BST > > Really? Why? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ TWiki-Dev mailing list TWi...@li... https://lists.sourceforge.net/lists/listinfo/twiki-dev -------------------------------------------------------------------------------- NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By communicating with Morgan Stanley you consent to the foregoing and to the voice recording of conversations with personnel of Morgan Stanley. |
From: <rhk...@gm...> - 2017-06-05 12:24:51
|
On Sunday, June 04, 2017 06:53:25 PM Imazu, Hideyo wrote: > The summary of the item is misleading. I understand the person who > reported/created the item lives in the BST time zone and wanted a way to > have time stamps in their local time zone. > > So I've updated the summary as: TWiki always uses GMT for time stamps on > log files but local time should be an option. Thanks for the clarification / explanation! |
From: Imazu, H. <Hid...@mo...> - 2017-06-04 23:19:53
|
I further updated the summary: SERVERTIME to be in local time; DISPLAYTIME and log time stamps to observe {DisplayTimeValues} -----Original Message----- From: Imazu, Hideyo (Enterprise Infrastructure) Sent: Monday, June 05, 2017 07:53 To: TWiki-Dev list for developers Cc: Imazu, Hideyo (Enterprise Infrastructure) Subject: RE: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib The summary of the item is misleading. I understand the person who reported/created the item lives in the BST time zone and wanted a way to have time stamps in their local time zone. So I've updated the summary as: TWiki always uses GMT for time stamps on log files but local time should be an option. -----Original Message----- From: rhk...@gm... [mailto:rhk...@gm...] Sent: Saturday, June 03, 2017 01:24 To: TWiki-Dev list for developers Subject: Re: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib On Thursday, June 01, 2017 09:48:52 PM Imazu, Hideyo wrote: > The commit is not specifically about BST. The item is about using > local time instead of GMT if so specified. And now, the code is made that way. Thanks--I noticed that, but I still wondered why you thought BST would be a better choice than GMT. > -----Original Message----- > On Thursday, June 01, 2017 02:12:55 AM de...@de... wrote: > > Log: > > Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving > > time queries/problems. TWiki uses GMT but (I believe probably) > > should use BST > > Really? Why? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ TWiki-Dev mailing list TWi...@li... https://lists.sourceforge.net/lists/listinfo/twiki-dev -------------------------------------------------------------------------------- NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By communicating with Morgan Stanley you consent to the foregoing and to the voice recording of conversations with personnel of Morgan Stanley. |
From: <rhk...@gm...> - 2017-06-09 13:46:14
|
On Sunday, June 04, 2017 07:19:39 PM Imazu, Hideyo wrote: > I further updated the summary: SERVERTIME to be in local time; DISPLAYTIME > and log time stamps to observe {DisplayTimeValues} > > -----Original Message----- > From: Imazu, Hideyo (Enterprise Infrastructure) > Sent: Monday, June 05, 2017 07:53 > To: TWiki-Dev list for developers > Cc: Imazu, Hideyo (Enterprise Infrastructure) > Subject: RE: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib > > The summary of the item is misleading. I understand the person who > reported/created the item lives in the BST time zone and wanted a way to > have time stamps in their local time zone. > > So I've updated the summary as: TWiki always uses GMT for time stamps on > log files but local time should be an option. > > -----Original Message----- > From: rhk...@gm... [mailto:rhk...@gm...] > Sent: Saturday, June 03, 2017 01:24 > To: TWiki-Dev list for developers > Subject: Re: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib > > On Thursday, June 01, 2017 09:48:52 PM Imazu, Hideyo wrote: > > The commit is not specifically about BST. The item is about using > > local time instead of GMT if so specified. And now, the code is made that > > way. > > Thanks--I noticed that, but I still wondered why you thought BST would be a > better choice than GMT. > > > -----Original Message----- > > > > On Thursday, June 01, 2017 02:12:55 AM de...@de... wrote: > > > Log: > > > Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving > > > time queries/problems. TWiki uses GMT but (I believe probably) > > > should use BST > > > > Really? Why? > > --------------------------------------------------------------------------- > --- Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ TWiki-Dev mailing list > TWi...@li... > https://lists.sourceforge.net/lists/listinfo/twiki-dev > > > --------------------------------------------------------------------------- > ----- > > NOTICE: Morgan Stanley is not acting as a municipal advisor and the > opinions or views contained herein are not intended to be, and do not > constitute, advice within the meaning of Section 975 of the Dodd-Frank > Wall Street Reform and Consumer Protection Act. If you have received this > communication in error, please destroy all electronic and paper copies and > notify the sender immediately. Mistransmission is not intended to waive > confidentiality or privilege. Morgan Stanley reserves the right, to the > extent permitted under applicable law, to monitor electronic > communications. This message is subject to terms available at the > following link: http://www.morganstanley.com/disclaimers If you cannot > access these links, please notify us by reply message and we will send the > contents to you. By communicating with Morgan Stanley you consent to the > foregoing and to the voice recording of conversations with personnel of > Morgan Stanley. > -------------------------------------------------------------------------- > ---- Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > TWiki-Dev mailing list > TWi...@li... > https://lists.sourceforge.net/lists/listinfo/twiki-dev |
From: <rhk...@gm...> - 2017-06-09 13:52:19
|
Oops, sorry about the previous message--I clicked "send" by mistake before I wrote anything. This needs no response, but I just wanted to say: I've had problems with GMT vs. local times (and daylight savings times) several times in my career, and what I believe is the best approach is to use GMT as the "real" time in the system, but to allow users or others to choose to display times in other time zones as they wish. Thus, the system works on an "absolute clock" which never varies (i.e., has no daylight savings variation), while users can view times in their local times (if they wish), even if they occasionally switch to and from daylight savings times. Statistics kept in the system stay based on GMT and aren't confused by a switch to or from DST. Thus, I strongly recommend that TWiki always use GMT internally. Thanks for letting me stand on this soap box. ;-) Randy Kramer PS: Sorry for the top posting. On Sunday, June 04, 2017 07:19:39 PM Imazu, Hideyo wrote: > I further updated the summary: SERVERTIME to be in local time; DISPLAYTIME > and log time stamps to observe {DisplayTimeValues} > > -----Original Message----- > From: Imazu, Hideyo (Enterprise Infrastructure) > Sent: Monday, June 05, 2017 07:53 > To: TWiki-Dev list for developers > Cc: Imazu, Hideyo (Enterprise Infrastructure) > Subject: RE: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib > > The summary of the item is misleading. I understand the person who > reported/created the item lives in the BST time zone and wanted a way to > have time stamps in their local time zone. > > So I've updated the summary as: TWiki always uses GMT for time stamps on > log files but local time should be an option. > > -----Original Message----- > From: rhk...@gm... [mailto:rhk...@gm...] > Sent: Saturday, June 03, 2017 01:24 > To: TWiki-Dev list for developers > Subject: Re: [TWiki-Dev] [SVN] HideyoImazu r30349 - twiki/trunk/core/lib > > On Thursday, June 01, 2017 09:48:52 PM Imazu, Hideyo wrote: > > The commit is not specifically about BST. The item is about using > > local time instead of GMT if so specified. And now, the code is made that > > way. > > Thanks--I noticed that, but I still wondered why you thought BST would be a > better choice than GMT. > > > -----Original Message----- > > > > On Thursday, June 01, 2017 02:12:55 AM de...@de... wrote: > > > Log: > > > Item7811: A few related GMT/BST (gmtime/localtime) / daylight-saving > > > time queries/problems. TWiki uses GMT but (I believe probably) > > > should use BST > > > > Really? Why? > |