modify nsdate helper to handle date string with mini-seconds