nanka iroiro

This commit is contained in:
syuilo
2018-08-28 09:12:59 +09:00
parent 736693db5f
commit cc335a6fde
13 changed files with 193 additions and 277 deletions

8
src/utils/get-date.ts Normal file
View File

@ -0,0 +1,8 @@
export default function (): string {
const now = new Date();
const y = now.getFullYear();
const m = now.getMonth();
const d = now.getDate();
const today = `${y}/${m + 1}/${d}`;
return today;
}