Skip to content

Commit

Permalink
fix typename of Date_Time JSON repr
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Sep 13, 2022
1 parent d65aeb8 commit 6d574a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ type Date_Time

example_to_json = Date_Time.now.to_json
to_json : Json.Object
to_json self = Json.from_pairs [["type", "Time"], ["year", self.year], ["month", self.month], ["day", self.day], ["hour", self.hour], ["minute", self.minute], ["second", self.second], ["nanosecond", self.nanosecond], ["zone", self.zone]]
to_json self = Json.from_pairs [["type", "Date_Time"], ["year", self.year], ["month", self.month], ["day", self.day], ["hour", self.hour], ["minute", self.minute], ["second", self.second], ["nanosecond", self.nanosecond], ["zone", self.zone]]

## Format this time as text using the specified format specifier.

Expand Down

0 comments on commit 6d574a4

Please sign in to comment.