Fixed issue with displaying local date and time