diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-02-20 23:59:50 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-02-20 23:59:50 +0000 |
commit | 62203c83efc8e1f996a068743a27de62d792259d (patch) | |
tree | 1d294a13396a44ca85f02e162127bfb88c41e191 /h-source/Application/Include/myFunctions.php | |
parent | 3ff11398297c4a3762500ff3effcb49b0c3ddf78 (diff) |
improved the regular expression to find URLs
Diffstat (limited to 'h-source/Application/Include/myFunctions.php')
-rw-r--r-- | h-source/Application/Include/myFunctions.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php index e90a163..2f2a88a 100644 --- a/h-source/Application/Include/myFunctions.php +++ b/h-source/Application/Include/myFunctions.php @@ -81,18 +81,6 @@ function smartDate($uglyDate = null, $lang = 'en') { return date('H:i, j ',strtotime($uglyDate)).gtext(date('F',strtotime($uglyDate))).date(' Y',strtotime($uglyDate)); } -// switch ($lang) -// { -// case 'en': -// $smDate = date('H:i, d F Y',strtotime($uglyDate)); -// break; -// case 'it': -// $smDate = date('H:i, d F Y',strtotime($uglyDate)); -// break; -// default: -// $smDate = date('H:i, d F Y',strtotime($uglyDate)).date(' F ',strtotime($uglyDate)).date('Y',strtotime($uglyDate)); -// } -// return $smDate; } function pubDateFormat($uglyDate = null) |