|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
atu Smarty Regular
Joined: 18 Apr 2003 Posts: 51 Location: Luxembourg
|
Posted: Sat Apr 17, 2004 10:35 am Post subject: date_format |
|
|
Hi,
$smarty->assign('d','2004-01-00');
{$d|date_format:"%Y"}-{$d|date_format:"%m"}
Show:
2003-12
what is going wrong? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sat Apr 17, 2004 10:59 am Post subject: |
|
|
the zeroth of 2004-01 is the 31st of 2003-12 |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|