[PATCH v2 2/2] jscript: Clean up date formatting strings with era.