Skip to content

Commit

Permalink
chore: remove useless lines
Browse files Browse the repository at this point in the history
  • Loading branch information
algebraic-dev committed Jan 10, 2025
1 parent 4870cb1 commit c0a5e5b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/Std/Time/DateTime/PlainDateTime.lean
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ structure PlainDateTime where
The `Time` component of a `PlainTime`
-/
time : PlainTime

deriving Inhabited, BEq, Repr


namespace PlainDateTime

/--
Expand Down
1 change: 0 additions & 1 deletion tests/lean/run/timeLocalDateTime.lean
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def ShortDateTime : GenericFormat .any := datespec("dd/MM/uuuu HH:mm:ss")
def ShortDate : GenericFormat .any := datespec("dd/MM/uuuu")

def format (PlainDate : PlainDateTime) : String := ShortDateTime.formatBuilder PlainDate.day PlainDate.month PlainDate.year PlainDate.time.hour PlainDate.minute PlainDate.time.second

def format₂ (PlainDate : PlainDate) : String := ShortDate.formatBuilder PlainDate.day PlainDate.month PlainDate.year

def date₁ := datetime("1993-11-19T09:08:07")
Expand Down

0 comments on commit c0a5e5b

Please sign in to comment.