fixing mobile date formatting