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

Leave us posts on anything related to your views on gametoast.com, improvements, gripes, etc...

Moderator: Moderators

Lieutenant Colonel
User avatar
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Location: Terra Firma, Sol System; Milky Way
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious

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

Postby VF501 » Fri Aug 31, 2007 9:56 pm

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

Gametoast Staff
User avatar
Posts: 2675
Joined: Sat Jun 24, 2006 4:16 pm

Re: Messed up Date/Time

Postby Fusion » Fri Aug 31, 2007 10:01 pm

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"

Jedi High Council
User avatar
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
Location: Canada
xbox live or psn: Xanthius Wylon

Re: Messed up Date/Time

Postby Darth_Z13 » Fri Aug 31, 2007 10:22 pm

VF501 wrote:Post Time Stamp
0%b %31, %2007 - %0

Darth_Z13


Hehe, I feel special. :P

Old School Staff
User avatar
Posts: 1232
Joined: Mon Feb 21, 2005 4:54 am
Location: Heartland, Texas

Re: Messed up Date/Time

Postby ShadowHawk » Fri Aug 31, 2007 11:32 pm

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.

Rebel Colonel
User avatar
Posts: 611
Joined: Fri Jan 19, 2007 10:13 pm
Location: Home

Re: Messed up Date/Time (Fix inside)

Postby Achronos-117 » Sat Sep 01, 2007 12:00 am

Is a real fix for this going to be launched cuz its confusing to have ALL dates the same

Jedi Admin (Formally Penguin)
User avatar
Posts: 2537
Joined: Sun Mar 05, 2006 12:00 am
Location: 127.0.0.1
Projects :: Operation Katana [SWBF 2 Map Series]
Games I'm Playing :: Minecraft GMod CSS

Re: Messed up Date/Time (Fix inside)

Postby Kateana » Sat Sep 01, 2007 12:08 am

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

Jedi Admin
User avatar
Posts: 10798
Joined: Wed Sep 07, 2005 11:42 pm
Location: Indiana
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set

Re: Messed up Date/Time (Fix inside)

Postby Teancum » Sat Sep 01, 2007 12:09 am

If you set this it does fix it. It works for everyone else.

Jawa Admin
User avatar
Posts: 2493
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Messed up Date/Time (Fix inside)

Postby guru » Sat Sep 01, 2007 7:53 am

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.

Supreme Galactic Ruler
User avatar
Posts: 2157
Joined: Sat Dec 10, 2005 6:30 am
Location: Waaaaay over there.

Re: Messed up Date/Time (Fix inside)

Postby The_Emperor » Sat Sep 01, 2007 8:55 am

Yup, that does the trick

Rebel Colonel
User avatar
Posts: 611
Joined: Fri Jan 19, 2007 10:13 pm
Location: Home

Re: Messed up Date/Time (Fix inside)

Postby Achronos-117 » Sat Sep 01, 2007 10:45 am

yeah i just found out i edited the wrong thing thanks for your help guys.

Sith
User avatar
Posts: 1263
Joined: Tue Jun 06, 2006 5:24 pm
Location: Germany

Re: Messed up Date/Time (Fix inside)

Postby AlexSecura » Sun Sep 02, 2007 6:28 am

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

Jedi Admin (Formally Penguin)
User avatar
Posts: 2537
Joined: Sun Mar 05, 2006 12:00 am
Location: 127.0.0.1
Projects :: Operation Katana [SWBF 2 Map Series]
Games I'm Playing :: Minecraft GMod CSS

Re: Messed up Date/Time (Fix inside)

Postby Kateana » Sun Sep 02, 2007 6:30 am

Ah woops lol, *edits post*

Sith
User avatar
Posts: 1288
Joined: Fri Mar 31, 2006 9:02 am
Location: New York City

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

Postby yankeefan05 » Sun Sep 02, 2007 10:16 am

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

Jawa Admin
User avatar
Posts: 2493
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

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

Postby guru » Sun Sep 02, 2007 11:20 am

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.

Return to Feedback for Gametoast

Who is online

Users browsing this forum: No registered users and 2 guests