X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=format.php;h=c913864d87c73c7c4c43086ce3eca6370ce12f2e;hp=28c555daedb7dae0c89ea9cfcb59ca28c8182a4a;hb=15459c86d0996ab3037b1738a8be6efd378c1258;hpb=65a85c00663b9f9a597f04f1c2705e857ba50f38 diff --git a/format.php b/format.php index 28c555d..c913864 100644 --- a/format.php +++ b/format.php @@ -302,13 +302,13 @@ function format_dollars($str) { # date is edited as mm/dd/yyyy but stored as yyyy-mm-dd function format_mdy_to_ymd($str) { if($str == '') return ''; - require_once(__DIR__ . '/time.php'); + require_once(__DIR__.'/'.'time.php'); return mdy_to_ymd(format_oneline($str)); } # date is yyyy-mm-dd function format_ymd($str) { - require_once(__DIR__ . '/time.php'); + require_once(__DIR__.'/'.'time.php'); list($year, $month, $day) = ymd_clean($str); return sprintf('%04u-%02u-%02u', $year, $month, $day); }