I was wondering if anyone with some Jelly experience would happen know how one would go about grabbing the pretty_format version of a Timestamp out of a Jelly_Field_Timestamp?
I wouldn't mind doing date($pretty_format, $value) as long as I could somehow get that $pretty_format value as I'm looping through my records.
$tasks = Jelly::select('task')->execute();
foreach ($tasks as $task)
{
$task->time;
#??? $task->time->pretty_format;
#??? date($pretty_format, $task->time)
}
Something like this has to be possible... is it not?
Iirc, this is one way to do it:
Another would be:
Note, this method only works in 0.9.x versions of Jelly.