Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut authored Dec 2, 2018
1 parent e7e2ab1 commit 0c7f5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Formatting of user-defined types is supported via a simple

template <typename FormatContext>
auto format(const date &d, FormatContext &ctx) {
return format_to(ctx.begin(), "{}-{}-{}", d.year, d.month, d.day);
return format_to(ctx.out(), "{}-{}-{}", d.year, d.month, d.day);
}
};

Expand Down

0 comments on commit 0c7f5c3

Please sign in to comment.