+ Initialized the Project

+ Setup the Month Parser
This commit is contained in:
2022-05-06 00:45:27 +03:00
commit f43baa895e
7 changed files with 239 additions and 0 deletions

17
tests/monthTest.ts Normal file
View File

@@ -0,0 +1,17 @@
import TymeJS from "../src";
for ( let i = 0; i < 12; i++ ) {
let currentMonth: Date = new Date();
currentMonth.setMonth(i)
const a = new TymeJS(currentMonth);
console.log({
single: a.getMonth("single"),
double: a.getMonth("double"),
full: a.getMonth("full"),
short: a.getMonth("short"),
});
}