2011-10-09, 00:58:12
For some reason, this piece of code:
Doesn't echo anything. The variable $dateFormat doesn't do anything for me. But when I changed it to:
I was able to output the date how I wanted it to. So perhaps it might be a good idea to tell users about changing the format of the date (especially for those where that variable appears to be blank).
-----
[Sidenote: I've finished the article about your 2.X.X incarnation of this plugin as a News module]
Code:
<?php echo strftime($dateFormat, $item->creDate); ?>
Doesn't echo anything. The variable $dateFormat doesn't do anything for me. But when I changed it to:
Code:
<?php echo strftime("%d-%m-%Y", $item->creDate); ?>
I was able to output the date how I wanted it to. So perhaps it might be a good idea to tell users about changing the format of the date (especially for those where that variable appears to be blank).
-----
[Sidenote: I've finished the article about your 2.X.X incarnation of this plugin as a News module]