Hi all!
Are there any information available about the specifics and progress of
date_format_locale?
Speaking as a non native English speaker this is a highly anticipated
function.
Three specific questions:
- Is there an implementation in HEAD?
- Is there any chance of a backport to PHP 5?
- Will it accept formatting according to
date()
orstrftime()
syntax?
Lars Gunther
Are there any information available about the specifics and progress of
date_format_locale?Speaking as a non native English speaker this is a highly anticipated
function.Three specific questions:
- Is there an implementation in HEAD?
yes, see: http://talks.php.net/show/time-phpworks7/21
- Is there any chance of a backport to PHP 5?
no
- Will it accept formatting according to
date()
orstrftime()
syntax?
date()
, but with some additions of course. How, I still need to work
out.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Derick Rethans skrev:
- Will it accept formatting according to
date()
orstrftime()
syntax?
date()
, but with some additions of course. How, I still need to work
out.
Is that set in stone? Most non-english application developers are
probably more familiar with the strftime syntax, as we tend to use that
function 90 % of the time.
Personally I also find that syntax more appealing:
echo date('\T\o\d\a\y \i\t \i\s l \a\n\d \t\h\e \c\l\o\c\k \i\s H:i');
echo strftime('Today it is %a and the clock is %H:%M');
Lars Gunther
Who, btw, prefers date-syntax to not having this function at all...