fix when editing a "last" time in the  input box. Reason 'split separato...

JS errors when editing a datarangepicker with text type "last 24h" in the date picker input box. The daterangepicker library expects  string with separator.