function test_date() { $this->assertEqual(PluginSonotsMetapage::date(1), '1970-01-01 () 00:00:01'); }
/** * Get New! of a page * * @access public * @static * @param int $timestamp * @return string */ function newdate($timestamp) { // ToDo: Implementing by myself to get more flexibility $date = PluginSonotsMetapage::date($timestamp); return do_plugin_inline('new', 'nodate', $date); }