Fix problem with time edition in Firefox.