Fixed leaderboard name not retaining the leading 0.
This commit is contained in:
parent
6fc10984e1
commit
061d4c8a8f
1 changed files with 2 additions and 2 deletions
|
@ -83,10 +83,10 @@ foreach($rankings as $ranking) {
|
|||
$name = 'All Time';
|
||||
|
||||
if($year > 0) {
|
||||
$name = "Leaderboard {$year}";
|
||||
$name = sprintf("Leaderboard %04d", $year);
|
||||
|
||||
if($month > 0)
|
||||
$name .= "-{$month}";
|
||||
$name .= sprintf("-%02d", $month);
|
||||
}
|
||||
|
||||
if($mode === 'markdown') {
|
||||
|
|
Loading…
Reference in a new issue