Skip to content

Commit

Permalink
Remove the redundant argument in template for formatting as ISO8601
Browse files Browse the repository at this point in the history
  • Loading branch information
levinli303 committed Oct 24, 2023
1 parent 551132b commit 53e5508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/celengine/astro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ Date::toString(Format format) const
{
if (format == ISO8601)
{
return fmt::format("{:04}-{:02}-{:02}T{:02}:{:02}:{:02}:{:08.5f}Z"sv,
return fmt::format("{:04}-{:02}-{:02}T{:02}:{:02}:{:08.5f}Z"sv,
year, month, day, hour, minute, seconds);
}
// MinGW's libraries don't have the tm_gmtoff and tm_zone fields for
Expand Down

0 comments on commit 53e5508

Please sign in to comment.