fix last clause of smart_date/smart_date_time (closes #41)
This commit is contained in:
parent
2bf6e0a824
commit
b02111c24a
|
@ -872,7 +872,7 @@
|
||||||
} else if (date("Y", $timestamp) == date("Y")) {
|
} else if (date("Y", $timestamp) == date("Y")) {
|
||||||
return date("M d, G:i", $timestamp);
|
return date("M d, G:i", $timestamp);
|
||||||
} else {
|
} else {
|
||||||
return date("Y/m/d G:i");
|
return date("Y/m/d G:i", $timestamp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -882,7 +882,7 @@
|
||||||
} else if (date("Y", $timestamp) == date("Y")) {
|
} else if (date("Y", $timestamp) == date("Y")) {
|
||||||
return date("D m", $timestamp);
|
return date("D m", $timestamp);
|
||||||
} else {
|
} else {
|
||||||
return date("Y/m/d");
|
return date("Y/m/d", $timestamp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue