forked from MISiS-General-Solutions-2/dogfound
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
antonvlasov
committed
Nov 8, 2021
1 parent
9f72b6a
commit 977d267
Showing
14 changed files
with
207 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
export default function arr() { | ||
let arr = [ | ||
let arr = ['1633392000', | ||
'1632787200', | ||
'1632700800', | ||
'1633392000', | ||
'1632528000', | ||
'1633046400', | ||
'1632614400', | ||
'1632700800', | ||
'1633305600', | ||
'1632873600', | ||
'1633478400', | ||
'1632441600', | ||
'1621728000', | ||
]; | ||
'1633046400', | ||
] | ||
let reArr = []; | ||
arr.map((el) => { | ||
let dt = new Date(el * 1000); | ||
let tempObj = {day: dt.getUTCDate(), month: dt.getMonth(), year: dt.getFullYear()} | ||
let tempObj = { day: dt.getUTCDate(), month: dt.getMonth(), year: dt.getFullYear() } | ||
reArr.push(tempObj); | ||
}); | ||
reArr.map((el) => { | ||
console.log(el.day+':'+el.month+':'+el.year); | ||
console.log(el.day + ':' + el.month + ':' + el.year); | ||
}) | ||
return reArr; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.