RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 01, 2008, 07:49:47 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Features (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  date should be properly localised
Advanced search
  « previous next »
Pages 1
Author
Topic: date should be properly localised  (Read 2073 times)
« on: May 19, 2007, 12:40:39 pm »
piran
Guest

The date should take its cue from the main Joomla language
(localised) php file setting. Alternatively the RSG2 config panel.
I don't think it should be hardwired into your template.

[display.class.php]

OLD
        Created: <?php echo mosFormatDate( $kid->date,"%d-%m-%Y" );?><br />

NEW
        Created: <?php echo mosFormatDate( $kid->date,"%Y-%b-%d" );?><br />

Personal opinion. YMMV

----best wishes, Robert
Logged
 
Print  Pages 1
« previous next »
Jump to: