Skip to content

Commit

Permalink
Fix dune build @fmt (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed Feb 23, 2023
1 parent 4a2f94a commit 2af5336
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions data/gen_data.ml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ module Blog = struct
; permalink = %a
; body = %a
}|}
(Ptime.to_float_s v.updated) (Pp.list People.pp) v.authors Pp.string
v.subject Pp.string v.permalink Pp.string v.body
(Ptime.to_float_s v.updated)
(Pp.list People.pp) v.authors Pp.string v.subject Pp.string v.permalink
Pp.string v.body
end

module Wiki = struct
Expand Down
2 changes: 1 addition & 1 deletion template/util.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
let date_to_string ptime =
let (year, month, day) = Ptime.to_date ptime in
let year, month, day = Ptime.to_date ptime in
Fmt.str "%04d-%02d-%02d" year month day

0 comments on commit 2af5336

Please sign in to comment.