Patch include:
1. Browser not support suppress attribute for date/time opcode, not enable this attribute. 2. Show year field in %04d format, old format is %4d. 3. Add sample to use the suppress attribute. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12722 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -699,7 +699,7 @@ ProcessOptions (
|
||||
|
||||
case 2:
|
||||
SetUnicodeMem (OptionString[0], 7, L' ');
|
||||
UnicodeSPrint (OptionString[0] + 7, 21 * sizeof (CHAR16), L"%4d", QuestionValue->Value.date.Year);
|
||||
UnicodeSPrint (OptionString[0] + 7, 21 * sizeof (CHAR16), L"%04d", QuestionValue->Value.date.Year);
|
||||
*(OptionString[0] + 11) = RIGHT_NUMERIC_DELIMITER;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user