Merge branch 'dev_1.2' into prod_v1.2
This commit is contained in:
@ -925,7 +925,7 @@
|
||||
public function NewDateDiff($time1, $time2, $precision = 6) {
|
||||
// If not numeric then convert texts to unix timestamps
|
||||
if (!is_int($time1)){$time1 = strtotime($time1);}
|
||||
if (!is_int($time2)){$time2 = strtotime($time2);}
|
||||
if (!is_int($time2)){$time2 = strtotime($time2);}
|
||||
|
||||
// If time1 is bigger than time2
|
||||
// Then swap time1 and time2
|
||||
|
||||
Reference in New Issue
Block a user