First version of the working date formatter
This commit is contained in:
9
tests/fullTest.ts
Normal file
9
tests/fullTest.ts
Normal 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"));
|
||||
|
||||
Reference in New Issue
Block a user