[pLog-svn] Date Format

Ma'moon soosas at gmail.com
Mon Jul 31 21:29:10 GMT 2006


thats right, i already did that, Thanks alot :))
-Ma'moon

On 8/1/06, Oscar Renalias <oscar at renalias.net> wrote:
>
> If you use $locale->formatDate($date) in any of the templates and
> without any more parameters, it will use the default date format
> specified in the locale file.
>
> The default date format is specified at the top of the locale file
> and it looks like this in the en_UK locale:
>
> $messages['date_format'] = '%d/%m/%Y %H:%M';
>
> Just change it to suit your needs (you may find a list of all the
> parameters that can be used in the code, look at the comments just on
> top of the 'formatDate' method in class/locale/locale.class.php)
>
> Most of the screens in the admin interface will use this format
> automatically. In the case of templates, however, it is left up to
> the designer to specify the most suitable date format.
>
> On 30 Jul 2006, at 11:48, Ma'moon wrote:
>
> > is there any way that we can use to change the format of the dates
> > when we list the infos about the posts or anything else, is there
> > any file should be  altered in order to get a different format of
> > the dates  or  i have to deal with each item's date alone to change
> > the format of the date ?!!
> >
> > -Ma'moon
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http:// devel.lifetype.net/pipermail/plog-svn/attachments/20060801/6e0dff25/attachment.html


More information about the pLog-svn mailing list