Page 1 of 1

Messed up Date/Time (Fix & PHP Time Tutorial inside)

Posted: Fri Aug 31, 2007 9:56 pm
by VF501
Just logged in for the first time since GT came baack up, and all the Date/Time stamps on visits and Post daates are messed up.

Examples:
It is currently %b %31, %2007 - %0

Last visit was: %b %22, %2007 - %0
Post Time Stamp
0%b %31, %2007 - %0

Darth_Z13

Re: Messed up Date/Time

Posted: Fri Aug 31, 2007 10:01 pm
by Fusion
Go to your settings and switch the date/time feature to mm/dd/yy :P

I think the old one wasn't recognized by the new code, and it turned it into "custom"

Re: Messed up Date/Time

Posted: Fri Aug 31, 2007 10:22 pm
by Darth_Z13
VF501 wrote:Post Time Stamp
0%b %31, %2007 - %0

Darth_Z13
Hehe, I feel special. :P

Re: Messed up Date/Time

Posted: Fri Aug 31, 2007 11:32 pm
by ShadowHawk
Stickying.


Yeah, there was some mess up apparently with the db import to this board. Just go to Profile -> Board Preferences and change "My date format:" to what you like, then submit.

Re: Messed up Date/Time (Fix inside)

Posted: Sat Sep 01, 2007 12:00 am
by Achronos-117
Is a real fix for this going to be launched cuz its confusing to have ALL dates the same

Re: Messed up Date/Time (Fix inside)

Posted: Sat Sep 01, 2007 12:08 am
by Penguin
ALL dates the same? Just select one of the options in the dropdown menu or change around the php time format fusion posted

m/d/y = Month/Day/Year
d/m/y = Day/Month/year
y/d/m = Year/Day/Month

More Advanced stuff:

j = Day, will display 1 -31 (Same as d but without the 0)
D = 3 letter words for days (Mon - Sun, yes, Captial D, lowercase d is numbers)
l (lowercase L) = Full words for days, Monday - Sunday
z = Displays what day it is of the year! 1 - 365
W (captial) = What week it is, EG week 42 of the year)
F (captial) = January - December
n = Like m, but with no 0
L (captial) = 1 = Leap year, 0 = not leap year.
Y (captial) = 4 letter year EG: 2007
y (lowercase Y) = 2 letter year, EG: 07
a = am or pm
A = AM or PM
g = 12 hour format
G = 24 hour format
i = minutes
s = seconds

You can use spaces and : , etc between them as well
So for example;

F jS, Y, g:i a = September 2nd, 2007, 8:39 pm


etc...

Re: Messed up Date/Time (Fix inside)

Posted: Sat Sep 01, 2007 12:09 am
by Teancum
If you set this it does fix it. It works for everyone else.

Re: Messed up Date/Time (Fix inside)

Posted: Sat Sep 01, 2007 7:53 am
by guru
Yea the default settings seem to be set to custom,

Easy fix for date issues :

1. go into top of page where it says PROFILE

2. click BOARD PREFERENCES on the left menu

3. Click on My date format: AND SET IT TO ANYTHING BUT CUSTOM!!

DONE! all dates work fine.

Re: Messed up Date/Time (Fix inside)

Posted: Sat Sep 01, 2007 8:55 am
by The_Emperor
Yup, that does the trick

Re: Messed up Date/Time (Fix inside)

Posted: Sat Sep 01, 2007 10:45 am
by Achronos-117
yeah i just found out i edited the wrong thing thanks for your help guys.

Re: Messed up Date/Time (Fix inside)

Posted: Sun Sep 02, 2007 6:28 am
by AlexSecura
Penguin wrote:ALL dates the same? Just select one of the options in the dropdown menu or change around the php time format fusion posted

mm/dd/yy = Month/Day/Year
dd/mm/yy = Day/Month/year
yy/dd/mm = Year/Day/Month

etc...

mm/dd/yy = Month/Day/Year
If i do it so it appears:
0202/0909/0707

If i type only
d/m/y
it works.
Last visit was: 01/09/07
It is currently 02/09/07
Joined: 06/06/06

Re: Messed up Date/Time (Fix inside)

Posted: Sun Sep 02, 2007 6:30 am
by Penguin
Ah woops lol, *edits post*

Re: Messed up Date/Time (Fix & PHP Time Tutorial inside)

Posted: Sun Sep 02, 2007 10:16 am
by yankeefan05
:lol: I was getting kind of worried there, now Im all good to go. :D

Also, is this only for members from the old forums or is this going into newly registered members as well?

Re: Messed up Date/Time (Fix & PHP Time Tutorial inside)

Posted: Sun Sep 02, 2007 11:20 am
by guru
its either because we imported data from an older version and date config was lost in the mix (and would only be old users) OR because this new board for some reason defaults everyone to CUSTOM in their starting settigs ,which is silly.