Set Gregorian calender to year string format

This fixes expiry year invalid when user's calendar is not Gregorian