First version of the working date formatter

This commit is contained in:
2022-05-07 14:02:55 +03:00
parent 8d3de497e9
commit d97a80bb39
3 changed files with 25 additions and 5 deletions

9
tests/fullTest.ts Normal file
View File

@@ -0,0 +1,9 @@
import TymeJS from "../src";
const a = new TymeJS();
console.log(a.format("d/m/Y"));
console.log(a.format("d/m/Y h:i A"));
console.log(a.format("Y-m-d"));
console.log(a.format("Y-m-d H:i:s"));