mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator
This commit is contained in:
commit
6ea4203acc
1 changed files with 2 additions and 2 deletions
|
|
@ -551,8 +551,8 @@ function getFileName(dataType) {
|
|||
const type = dataType ? dataType + " " : "";
|
||||
const date = new Date();
|
||||
const year = date.getFullYear();
|
||||
const month = formatTime(date.getMonth());
|
||||
const day = formatTime(date.getDay());
|
||||
const month = formatTime(date.getMonth() + 1);
|
||||
const day = formatTime(date.getDate());
|
||||
const hour = formatTime(date.getHours());
|
||||
const minutes = formatTime(date.getMinutes());
|
||||
const dateString = [year, month, day, hour, minutes].join('-');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue