Refactored LocalTimeWidget.