Merge branch 'dev_1.2' into prod_v1.2

This commit is contained in:
2025-05-29 06:31:44 +07:00
3 changed files with 55 additions and 8 deletions

View File

@ -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