currentDate format bug fixed