- fixed date time internalization;

This commit is contained in:
nikitozzzzzzz
2018-11-07 00:17:04 +02:00
parent 151e6464f1
commit a9a50e619c
4 changed files with 43 additions and 43 deletions
+18
View File
@@ -399,4 +399,22 @@ function um_requesting_password_change() {
}
return false;
}
/**
* Get core page url
*
* @deprecated 2.0.30
*
* @param $time1
* @param $time2
*
* @return string
*/
function um_time_diff( $time1, $time2 ) {
//um_deprecated_function( 'um_time_diff', '2.0.30', 'UM()->datetime()->time_diff' );
return UM()->datetime()->time_diff( $time1, $time2 );
}