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

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

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

Post 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
Fusion
Gametoast Staff
Gametoast Staff
Posts: 2551
Joined: Sat Jun 24, 2006 4:16 pm

Re: Messed up Date/Time

Post 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"
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Re: Messed up Date/Time

Post by Darth_Z13 »

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

Darth_Z13
Hehe, I feel special. :P
User avatar
ShadowHawk
Old School Staff
Posts: 1232
Joined: Mon Feb 21, 2005 4:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Heartland, Texas
Contact:

Re: Messed up Date/Time

Post 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.
Achronos-117
Rebel Colonel
Rebel Colonel
Posts: 610
Joined: Fri Jan 19, 2007 10:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Home
Contact:

Re: Messed up Date/Time (Fix inside)

Post by Achronos-117 »

Is a real fix for this going to be launched cuz its confusing to have ALL dates the same
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Re: Messed up Date/Time (Fix inside)

Post 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...
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Messed up Date/Time (Fix inside)

Post by Teancum »

If you set this it does fix it. It works for everyone else.
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2390
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)

Post 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.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: Messed up Date/Time (Fix inside)

Post by The_Emperor »

Yup, that does the trick
Achronos-117
Rebel Colonel
Rebel Colonel
Posts: 610
Joined: Fri Jan 19, 2007 10:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Home
Contact:

Re: Messed up Date/Time (Fix inside)

Post by Achronos-117 »

yeah i just found out i edited the wrong thing thanks for your help guys.
AlexSecura
Sith
Sith
Posts: 1263
Joined: Tue Jun 06, 2006 5:24 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Re: Messed up Date/Time (Fix inside)

Post 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
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Re: Messed up Date/Time (Fix inside)

Post by Penguin »

Ah woops lol, *edits post*
yankeefan05
Sith
Sith
Posts: 1288
Joined: Fri Mar 31, 2006 9:02 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: New York City
Contact:

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

Post 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?
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2390
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)

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