mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Admin-ui Fix date filter.
This commit is contained in:
@@ -3505,12 +3505,13 @@ class e_admin_controller_ui extends e_admin_controller
|
|||||||
|
|
||||||
case 'datestamp':
|
case 'datestamp':
|
||||||
|
|
||||||
|
//XXX DO NOT TRANSLATE THESE VALUES!
|
||||||
$dateConvert = array(
|
$dateConvert = array(
|
||||||
"hour" => LAN_UI_FILTER_PAST_HOUR,//"1 hour ago",//etc
|
"hour" => "1 hour ago",
|
||||||
"day" => LAN_UI_FILTER_PAST_24_HOURS,
|
"day" => "24 hours ago",
|
||||||
"week" => LAN_UI_FILTER_PAST_WEEK,
|
"week" => "1 week ago",
|
||||||
"month" => LAN_UI_FILTER_PAST_MONTH,
|
"month" => "1 month ago",
|
||||||
"year" => LAN_UI_FILTER_PAST_YEAR
|
"year" => "1 year ago",
|
||||||
);
|
);
|
||||||
|
|
||||||
$ky = $filter[2];
|
$ky = $filter[2];
|
||||||
|
Reference in New Issue
Block a user