Skip to content

Commit

Permalink
Merge branch 'master' of github.com:algebraic-dev/lean4
Browse files Browse the repository at this point in the history
  • Loading branch information
algebraic-dev committed Nov 6, 2024
2 parents d6e2024 + 0fef367 commit 6203f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Std/Time/DateTime/PlainDateTime.lean
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def toTimestampAssumingUTC (dt : PlainDateTime) : Timestamp :=
Timestamp.ofNanosecondsSinceUnixEpoch (Nanosecond.Offset.ofInt nanos)

/--
Converts a UNIX `Timestamp` to a `PlainDateTime`.
Converts a `Timestamp` to a `PlainDateTime`.
-/
def ofTimestamp (stamp : Timestamp) : PlainDateTime := Id.run do
let leapYearEpoch := 11017
Expand Down

0 comments on commit 6203f4b

Please sign in to comment.