I don't like this approach, this actually limits the date format,
Why didn't you use the date.format functionality from post.js before render?