Hilight Sunday while it is Saturday

Report problems with the forum.
Post ideas for additions or changes to the forum.
Request help with forum functionality.
Post Reply
User avatar
wittmeba
Sharp Shooter
Sharp Shooter
Posts: 1686
Joined: Tue, 15 Jul 2014 20:24:12

Hilight Sunday while it is Saturday

Post by wittmeba »

It's doing it again. Today is still Saturday Jan 09, 2016 but Calendar hilights Sunday. It did this before and again it is not a big deal but a little concern. Just very strange. Time zone is right too. I have rebooted, cleared cache, no help...

What time zone is this website set to use?

The page and my mouse over the clock/calendar bottom right on Windows.
http://i.imgur.com/YTzOHzT.jpg
A Concealed Weapon Permit is nothing more than a permit to allow a LAC to wear a jacket.
Make America Great Again
M-A-G-A
User avatar
AlanM
Sharp Shooter
Sharp Shooter
Posts: 1842
Joined: Fri, 31 Dec 2010 11:05:15
Location: Charlottesville now. Was Stow, OH

Re: Hilight Sunday while it is Saturday

Post by AlanM »

I suspect that the date set on the forum server is off by a day.
I'm seeing the same thing. And I set my computer clock with NIST.
AlanM
There are no dangerous weapons; there are only dangerous men. - RAH
Four boxes to be used in defense of liberty: soap, ballot, jury, ammo - use in that order.
If you aren't part of the solution, then you obviously weren't properly dissolved.
User avatar
wittmeba
Sharp Shooter
Sharp Shooter
Posts: 1686
Joined: Tue, 15 Jul 2014 20:24:12

Re: Hilight Sunday while it is Saturday

Post by wittmeba »

Thank you, Alan. I was thinking either the date of the server or time zone it may be in.

I use http://time.is/
A Concealed Weapon Permit is nothing more than a permit to allow a LAC to wear a jacket.
Make America Great Again
M-A-G-A
OakRidgeStars
VGOF Gold Supporter
VGOF Gold Supporter
Posts: 14108
Joined: Sun, 22 Mar 2009 10:13:20

Re: Hilight Sunday while it is Saturday

Post by OakRidgeStars »

The time and date on the server is correct. You can verify your time zone and DST settings in the User Control Panel > Board Preferences section.

Image
User avatar
AlanM
Sharp Shooter
Sharp Shooter
Posts: 1842
Joined: Fri, 31 Dec 2010 11:05:15
Location: Charlottesville now. Was Stow, OH

Re: Hilight Sunday while it is Saturday

Post by AlanM »

Frankly, I don't understand HTML code well enough to tell from reading the source code for that User Control Panel page to establish whether or not it's displaying the server date and time or my local machine date and time.
I DO know that it is within 1 or 2 seconds of being identical to my computer's time.

The code for the calendar page is getting the text for the date from "http://vagunforum.net/viewcalendar.php"

Here's the line:

Code: Select all

<td colspan="3" class="month" align="center"><h2><b>Today is: Sunday, January 10th, 2016</b></h2><font style="font-size: 18px; font-weight:bold; color: #223300;">January, 2016</font></td>
One thought: Since we saw the problem late Saturday night it's possible somewhere in the server code it's grabbing the current date for GMT rather than GMT-5. Which I assume is the time zone for the server.
The way to check is to look at the calendar between 7PM and Midnight and see if it's a day ahead.
AlanM
There are no dangerous weapons; there are only dangerous men. - RAH
Four boxes to be used in defense of liberty: soap, ballot, jury, ammo - use in that order.
If you aren't part of the solution, then you obviously weren't properly dissolved.
User avatar
AlanM
Sharp Shooter
Sharp Shooter
Posts: 1842
Joined: Fri, 31 Dec 2010 11:05:15
Location: Charlottesville now. Was Stow, OH

Re: Hilight Sunday while it is Saturday

Post by AlanM »

OK, I am correct.
The Calendar program is using GMT date and time.
I was displaying the calendar page and hitting "reload".
At EDT 18:59 the calendar showed "Today is: Sunday, January 10th, 2016".
A few seconds after 19:00 I hit "reload" and this is what is now displayed:
"Today is: Monday, January 11th, 2016"
Five hours early.
The computer that is handling the calendar is set for GMT date and time.
No doubt about it.
AlanM
There are no dangerous weapons; there are only dangerous men. - RAH
Four boxes to be used in defense of liberty: soap, ballot, jury, ammo - use in that order.
If you aren't part of the solution, then you obviously weren't properly dissolved.
Post Reply

Return to “Forum Suggestions and Help”