Jump to content

Timestamp on bridge base forum postings


Recommended Posts

1. Is this right forum for posts about forum software/infrastructure?

 

2. The footer of this page shows my time as 02:47 (correct) but my post appears as an hour earlier - ignoring UK daylight saving? This is now not happening! But posts to ACBL Cpnvention Charts topic were showing as 01:xx when they were posted at 02:xx.

 

3. Posts can often appear to be posted a few minutes in the future - when this happens they are not marked as "read" when I read them. They are only marked as "read" once the time of the posting is in the past.

Edited by RMB1
Link to comment
Share on other sites

Like barmar, I wonder if the forum's being LeftPondianCentric again. It's DST over here (except for Arizona and Saskatchewan and Creston, BC(*)) but not in Rest Of World yet - but that doesn't mean that the forum may not think so.

 

(*) Technically, Creston *is* on DST - Mountain Daylight Time. Come November, they'll go back onto Pacific Standard Time. They have a "Time Zone Change" sign that, twice a year, gets moved from one side of the city to the other.

Link to comment
Share on other sites

The DST check is done using Javascript in the browser. Javascript doesn't have a built-in method to tell whether you're currently in DST, so it uses a popular trick. There's a function that tells you what the local difference from GMT was or will be on any specified date (for future dates, this of course assumes no unexpected changes to DST laws). So it gets the offset on January 1 and July 1, and the current offset. If the current offset is the same as July, DST is in effect; if it's the same as January, standard time is in effect. So if your computer has the timezone set correctly, and knows when to switch in and out of DST automatically, the forum should pick this up if you enable the DST correction option.

 

This gets things backwards for the southern hemisphere, though. Someone reported a problem from Australia last year, and I sent it to the vendor. I don't know if they've fixed it in newer releases (the only fixes they make to our version are for security problems).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...