This topic is locked

Date format

6/30/2006 7:17:48 AM
PHPRunner General questions
O
osluk author

Any harm in altering /include/locale.php
to the following
$locale_info["LOCALE_SLONGDATE"]="ddd, dd MMMM yyyy";

$locale_info["LOCALE_SSHORTDATE"]="ddd, dd-MMM-yyyy";
This seems to work.
Is there a way to include these formats so I can select them from the list.
Currently this will be overwritten each time I rebuild.
Cheers Chris

J
Jane 6/30/2006

Chris,
when you rebuild your project all your changes in the files are removed because all pages are generated anew.

O
osluk author 6/30/2006

Thanks Jane I realised that.
Firstly is it Ok to change the format. Wont cause any problems anywhere?
Secondly can this format be made available within the software so the changes

would be kept?
Thanks Chris

Alexey admin 7/3/2006

Chris,

Firstly is it Ok to change the format. Wont cause any problems anywhere?



No.

Secondly can this format be made available within the software so the changes

would be kept?



No. We use a standard Long and Short date formats for each locale. Modify generated files if you need custom ones.