summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c')
-rw-r--r--EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c b/EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c
index b03c237..9341a22 100644
--- a/EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c
+++ b/EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c
@@ -271,8 +271,8 @@ IsTimeValid (
)
{
// Check the input parameters are within the range specified by UEFI
- if ((Time->Year < 2000) ||
- (Time->Year > 2099) ||
+ if ((Time->Year < 1900) ||
+ (Time->Year > 9999) ||
(Time->Month < 1) ||
(Time->Month > 12) ||
(!IsDayValid (Time)) ||