improve date handler in import format command