fixed the bug with initial `-' in input time specification