Implement s.sss and m.mmm formats