first commit

This commit is contained in:
Romulus21
2021-12-17 15:37:05 +01:00
commit 2d49672d20
43 changed files with 39806 additions and 0 deletions

15
src/index.js Normal file
View File

@@ -0,0 +1,15 @@
import App from './components/App';
import './style';
Date.prototype.addDays = function (days) {
let date = new Date(this.valueOf());
date.setDate(date.getDate() + days);
return date;
}
Date.prototype.toFrDate = function() {
let month = ((this.getMonth() + 1 < 10) ? '0' : '') + (this.getMonth() + 1)
return `${this.getDate()}/${month}/${this.getFullYear()}`
}
export default App;