Skip to content

Commit 2cacbc3

Browse files
committed
uefi-raw: time: add missing valid daytime option
This makes it clearer that this value can be any of those three.
1 parent e35404f commit 2cacbc3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

uefi-raw/src/time.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ bitflags! {
131131
#[repr(transparent)]
132132
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord)]
133133
pub struct Daylight: u8 {
134+
/// Daylight information not available or not applicable to the time
135+
/// zone.
136+
const NONE = 0;
137+
134138
/// Time is affected by daylight savings time.
135139
const ADJUST_DAYLIGHT = 0x01;
136140

0 commit comments

Comments
 (0)