2 // PukiWiki - Yet another WikiWikiWeb clone
4 // Copyright 2017 PukiWiki Development Team
5 // License: GPL v2 or (at your option) any later version
7 // Show passage by Client JavaScript
9 function plugin_passage_inline()
11 list($date_atom) = func_get_args();
12 $time = strtotime($date_atom);
13 $yyyyMMdd = date('Y-m-d', $time);
14 return '<span class="simple_passage" data-mtime="' .
15 get_date_atom($time) . '">' . $yyyyMMdd . '</span>';