normalize date formats throughout the app