std: sys: pal: uefi: Overhaul Time by Ayush1325 · Pull Request #139806 · rust-lang/rust (original) (raw)

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Ayush1325

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Apr 14, 2025

fbstj

beetrees

Comment on lines 75 to 76

beetrees

Comment on lines 80 to 83

Comment on lines 116 to 117

Comment on lines 151 to 177

fbstj

@Ayush1325

Use a time representation with 1900-01-01-00:00:00 at timezone -1440 min as anchor. This is the earliest time supported in UEFI.

Signed-off-by: Ayush Singh ayush@beagleboard.org

beetrees

Comment on lines 180 to 192

phip1611

phip1611

phip1611

@Ayush1325

Add tests to ensure that extream system times are still representable.

Signed-off-by: Ayush Singh ayush@beagleboard.org