Skip to content

Commit

Permalink
fixing error in name for monthyear
Browse files Browse the repository at this point in the history
  • Loading branch information
ewenmaclean committed Oct 25, 2018
1 parent 103cb42 commit 2756816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-core-pp/datetime_json.ml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ let monthyear_to_json ( d : fix_monthyear) =
`Assoc list_assoc
;;

let monthyear : fix_monthyear Decoders_yojson.Basic.Decode.decoder =
let monthyear_decoder : fix_monthyear Decoders_yojson.Basic.Decode.decoder =
(D.field "monthyear_year" D.int) >>= fun monthyear_year ->
(D.field "monthyear_month" D.int) >>= fun monthyear_month ->
D.maybe (D.field "monthyear_day" D.int) >>= fun monthyear_day ->
Expand Down

0 comments on commit 2756816

Please sign in to comment.