Formatting time fields after pressing Enter (osx), closes #384