Support localizing custom simple date format

Change-Id: I9f4dc1461eebf9f1fefcd39830347f73e92434a0