Fix relative dates in Firefox - fix found at http://stackoverflow.com/questions/12953302/javascript-datetime-string-to-date-object)

Signed-off-by: emanuele <emanuele45@gmail.com>