adminerevo/editor/include/editing.inc.php
jakubvrana a0def4790e Date localization
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@917 7c3ca157-0c34-0410-bff1-cbf682f78f5c
2009-07-27 16:32:56 +00:00

5 lines
176 B
PHP

<?php
function conversion_date($match) {
return ($match["p1"] ? $match["p1"] : ($match["p2"] < 70 ? 20 : 19) . $match["p2"]) . "-$match[p3]$match[p4]-$match[p5]$match[p6]";
}