Skip to content

Commit 3c0ae17

Browse files
authored
Merge pull request #1015 from osm/remove-dateiso-seconds
Remove seconds from the $dateiso macro
2 parents 1385579 + fd0e826 commit 3c0ae17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/teamplay.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ char *Macro_DateIso(void) {
500500
time (&t);
501501
if (!(ptm = localtime (&t)))
502502
return "#bad date#";
503-
strftime (macro_buf, sizeof(macro_buf) - 1, "%Y-%m-%d_%H-%M-%S", ptm);
503+
strftime (macro_buf, sizeof(macro_buf) - 1, "%Y-%m-%d_%H-%M", ptm);
504504
return macro_buf;
505505
}
506506

0 commit comments

Comments
 (0)