Set Gregorian calender to year string format

This fixes expiry year invalid when user's calendar is not Gregorian

eg. If user use Buddhist calendar (now is year 2557). Input 02/17 in expiry form, the year value will be 2517 instead of 2017