diff --git a/lib/date.php b/lib/date.php new file mode 100644 index 0000000..af6f9b9 --- /dev/null +++ b/lib/date.php @@ -0,0 +1,38 @@ +'Jan', 2=>'Feb', 3=>'Mar', 4=>'Apr', + 5=>'May', 6=>'Jun', 7=>'Jul', 8=>'Aug', + 9=>'Sep', 10=>'Oct', 11=>'Nov', 12=>'Dec'); + + function fileParseDate($date) { + global $shortMonths; + + return substr($date, 3) . ' ' . $shortMonths[substr($date, 1, 2)]; + } +?> diff --git a/parts/library.php b/parts/library.php index 4b4e4c1..30d27ae 100644 --- a/parts/library.php +++ b/parts/library.php @@ -1,13 +1,14 @@