# std.os.uefi: Fix two padding mistakes in the Time struct · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1a03b8c8992d1a739363f289566334ba2a970cca)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1a03b8c8992d1a739363f289566334ba2a970cca

Requested commit: 1a03b8c8992d1a739363f289566334ba2a970cca

Commit: 1a03b8c8992d1a739363f289566334ba2a970cca

Tree: 6931d9df23ff8256e9b6c2a30d12df92d7f389a6

Author: Linus Groh

Committer: Linus Groh

## Message

````
std.os.uefi: Fix two padding mistakes in the Time struct

```c
//************************************************
//EFI_TIME
//************************************************
// This represents the current time information
typedef struct {
   UINT16    Year;              // 1900 - 9999
   UINT8     Month;             // 1 - 12
   UINT8     Day;               // 1 - 31
   UINT8     Hour;              // 0 - 23
   UINT8     Minute;            // 0 - 59
   UINT8     Second;            // 0 - 59
   UINT8     Pad1;
   UINT32    Nanosecond;        // 0 - 999,999,999
   INT16     TimeZone;          // —1440 to 1440 or 2047
   UINT8     Daylight;
   UINT8     Pad2;
 }   EFI_TIME;
```

````

## Parents

- [6378295b771b2e621918d20e45debf91ee114eac](https://git.cafe/gitcafe/zig/commit/6378295b771b2e621918d20e45debf91ee114eac?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1a03b8c8992d1a739363f289566334ba2a970cca?format=markdown)
