A bit of love to ideaPanel.tmpl
Creating app.formatDate and app.formatDatetime