How do I change date format. The default is YMD
« on: June 25, 2011, 04:48:46 PM »
Hi

Where do I go in generator to change the format of the date shown on the HTML sitemap?

I need it to show DMY and prefereably, in French, like today for example,  25 Juin 2011

Thanks
Nicky
Re: How do I change date format. The default is YMD
« Reply #1 on: June 26, 2011, 03:27:25 PM »
Hello,

it can be changed in generator/data/generator.conf file:
<option name="xs_dateformat">Y, F j</option>
you can change it to:
<option name="xs_dateformat">j F Y</option>
Re: How do I change date format. The default is YMD
« Reply #2 on: June 27, 2011, 08:18:29 AM »
Super! That's now done and aok  :)

And now, where do I go to change the language of the months please?

Nicky
Re: How do I change date format. The default is YMD
« Reply #3 on: June 28, 2011, 04:10:28 PM »
It is formated according with PHP's time() specs which doesn't currentl support different languages unfortunately: [ External links are visible to logged in users only ]
Re: How do I change date format. The default is YMD
« Reply #4 on: June 28, 2011, 04:47:56 PM »
Hi

Thanks. No problem. Looking at that php date format info you posted above, I think I'll use M or m to represent the month. Job done!

Nicky