Changeset 30956 for trunk/admin


Ignore:
Timestamp:
Feb 13, 2015, 9:32:48 AM (10 years ago)
Author:
mistic100
Message:

bug 3188: history search, trailing space in dates

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/history.php

    r30948 r30956  
    7676  if (!empty($_POST['start']))
    7777  {
    78     $_POST['start'] = trim($_POST['start']);
    7978    check_input_parameter('start', $_POST, false, '/^\d{4}-\d{2}-\d{2}$/');
    8079    $search['fields']['date-after'] = $_POST['start'];
     
    8382  if (!empty($_POST['end']))
    8483  {
    85     $_POST['end'] = trim($_POST['end']);
    8684    check_input_parameter('end', $_POST, false, '/^\d{4}-\d{2}-\d{2}$/');
    8785    $search['fields']['date-before'] = $_POST['end'];
  • trunk/admin/themes/default/js/datepicker.js

    r30341 r30956  
    108108      dateFormat: linked ? 'DD d MM yy' : 'yy-mm-dd',
    109109      timeFormat: 'HH:mm',
     110      separator: options.showTimepicker ? ' ' : '',
    110111
    111112      altField: linked ? $target : null,
Note: See TracChangeset for help on using the changeset viewer.