Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
[Solved] Date format display (1 viewing) (1) Guest
Go to bottom Favoured: 9
TOPIC: [Solved] Date format display
#3336
[Solved] Date format display 1 Year, 4 Months ago  
Gidday, can someone explain to me how to change the date format to dd/mm/yyyyy please. I notice here on this forum front page it is dd/mm/yyyy but once you enter a forum category it is displayed yyyy/mm/dd.

Thankyou
airgasm (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/05/29 10:50 By palebluedot. Reason: User resolved issue.
 
Barry Ferguson
logic will get you from A to B - imagination will take you anywhere
Home of BrumbieAir
 
The administrator has disabled public write access.  
#3337
Re:Date format display 1 Year, 4 Months ago  
Open components/com_fireboard/templates/default/view.php,
change line 973, from
$msg_date =date(_DATETIME, $fmessage->time);
to
$msg_date =date("d/m/Y G:i", $fmessage->time);
CraigSmith (User)
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Craig G Smith
www.joomla-host.co.za
 
The administrator has disabled public write access.  
#3370
Re:Date format display 1 Year, 4 Months ago  
Hi Craig and thanks but it didn't work???

$msg_date =date("d/m/Y G:i", $fmessage->time);
airgasm (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Barry Ferguson
logic will get you from A to B - imagination will take you anywhere
Home of BrumbieAir
 
The administrator has disabled public write access.  
#4210
Re:Date format display 1 Year, 4 Months ago  
I discovered by changing the DEFINE('_DATETIME','Y/m/d H:i'in the administrator/components/com_fireboard/language/english.php to DEFINE('_DATETIME','d/m/Y H:i'seemed to be the answer. I left your suggestion Craig as you suggested and seems to be fine. Thankyou.
airgasm (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Barry Ferguson
logic will get you from A to B - imagination will take you anywhere
Home of BrumbieAir
 
The administrator has disabled public write access.  
#4278
Re:Date format display 1 Year, 4 Months ago  
Doesn't seem to be working for me. I've got the format d/m/y on the main page, but the individual message dates are m/d/y . Any suggestions?
gdwoods (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#4291
Re:Date format display 1 Year, 4 Months ago  
Hi.

My problem is slightly different but related to this.

I tried to change the file fb_timeformat.class.php,
In that file you can change the names of days to the names in your country.
Or so I thought anyway.

I changed them to their Swedish names but it have absolutely no effect.
Tuesday is still Tuesday and not Tisdag as I want it displayed.

One problem for me might be that my main site is in English but the "inside" so to speak is in Swedish.

Maybe Fireboard draws the date from Joomla, but then why have fb_timeformat.class.php??
umlaut (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#8492
Re:Date format display 1 Year, 3 Months ago  
Thanks changing the admin english file worked for me

Any idea how you would add am or pm to the time stamp?

Cheers

Locii.
locii (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#8493
Re:Date format display 1 Year, 3 Months ago  
Actually figured it out - just add a or A to the end of the string. eg Y-m-d h:i A
locii (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#10172
Re:Date format display 1 Year, 3 Months ago  
gdwoods wrote:
Doesn't seem to be working for me. I've got the format d/m/y on the main page, but the individual message dates are m/d/y . Any suggestions?

I am having this same issue. I changed all the options in the english.php file to reflect accordingly, and the only thing that isn't formatting right now is the front page. I want it to reflect mm/dd/yyyy.

Any ideas?
caleb2001r (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#10175
Re:Date format display 1 Year, 3 Months ago  
I seem to remember that I could effect the forum front page view just by changing the config in the joomla backend ... I might be wrong though.
locii (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop