Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Re:Date format display (1 viewing) (1) Guest
TOPIC: Re:Date format display
#3336
[Solved] Date format display 1 Year, 8 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
 
 
#3337
Re:Date format display 1 Year, 8 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
 
 
#3370
Re:Date format display 1 Year, 8 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
 
 
#4210
Re:Date format display 1 Year, 8 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
 
 
#4278
Re:Date format display 1 Year, 8 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
 
 
#4291
Re:Date format display 1 Year, 8 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
 
 
#8492
Re:Date format display 1 Year, 7 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
 
 
#8493
Re:Date format display 1 Year, 7 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
 
 
#10172
Re:Date format display 1 Year, 7 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
 
 
#10175
Re:Date format display 1 Year, 7 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
 
 
Go to top