• Welcome to Sitemap Generator Forum.
 

How do I change date format. The default is YMD

Started by Nicky-, June 25, 2011, 04:48:46 PM

Previous topic - Next topic

Nicky-

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

XML-Sitemaps Support

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>

Nicky-

Super! That's now done and aok  :)

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

Nicky

XML-Sitemaps Support

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 ]

Nicky-

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