Skip to content

Commit 53e5508

Browse files
committed
Remove the redundant argument in template for formatting as ISO8601
1 parent 551132b commit 53e5508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/celengine/astro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ Date::toString(Format format) const
407407
{
408408
if (format == ISO8601)
409409
{
410-
return fmt::format("{:04}-{:02}-{:02}T{:02}:{:02}:{:02}:{:08.5f}Z"sv,
410+
return fmt::format("{:04}-{:02}-{:02}T{:02}:{:02}:{:08.5f}Z"sv,
411411
year, month, day, hour, minute, seconds);
412412
}
413413
// MinGW's libraries don't have the tm_gmtoff and tm_zone fields for

0 commit comments

Comments
 (0)