GuildPortal will be going offline (permanently) by the end of the month.
Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Date Format
Garix666 (New Admin) 2/23/2010 8:05 AM EST : Date Format
Posts: 120
Posts With Wolves

Is there a way of changing the way in which the date is displayed? At the moment within the forums listing is is being displayed in the US format (MM/DD/YY) and would prefer it to be in the UK/EU format (DD/MM/YY)

Any help highly apreciated

Mottie (MVP) 2/23/2010 12:35 PM EST : RE: Date Format
GuildPortal MVP
Posts: 3884
Zomgawsh Poster

Hi Garix666!

I would recommend that you submit a feature request about allowing individuals to set their own date/time format.

I did throw together this script that will switch the month and day in almost all dates (but I haven't tested it thoroughly). Add the following script to your Footer Area (Control Panel > Custom HTML & Script > Footer Area)
<script type="text/javascript">
  if ($(this).text().match(/(\d+)\/(\d+)\/(\d+)/)){
   $(this).html( $(this).html().replace(/(\d+)\/(\d+)\/(\d+)/, '$2\/$1\/$3') );

Garix666 (New Admin) 2/23/2010 12:40 PM EST : RE: Date Format
Posts: 120
Posts With Wolves


Thanks very much just what I was looking for

Looks like I'm gonna need to learn some simple scripting stuff

Admins Online
There are   members online.
So-and-so has logged on!