in reply to DateTime ->epoch not working in Catalyst controller but 'does' in template?
$entry->issued($post->date); $entry->modified($post->date);
You've provided very little useful data, so I'm quite lucky if I'm guessing right. If not, please show the code that gives the error, tells us what the functions expect for parameters, and show us what actually gets sent as parameters.
|
|---|