X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=format.php;h=c913864d87c73c7c4c43086ce3eca6370ce12f2e;hp=28c555daedb7dae0c89ea9cfcb59ca28c8182a4a;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hpb=8e61d658c67b8782612820211862ee0df243891d 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); }