mirror of
https://github.com/frappe/books.git
synced 2024-11-13 00:46:28 +00:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
73f2eaf701
17
README.md
17
README.md
@ -66,14 +66,31 @@ database.
|
|||||||
```bash
|
```bash
|
||||||
# clone the repository
|
# clone the repository
|
||||||
git clone https://github.com/frappe/books.git
|
git clone https://github.com/frappe/books.git
|
||||||
|
|
||||||
# change directory
|
# change directory
|
||||||
cd books
|
cd books
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
# start the electron app
|
# start the electron app
|
||||||
yarn electron:serve
|
yarn electron:serve
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Developing with FrappeJS
|
||||||
|
|
||||||
|
FrappeBooks is based on [FrappeJS](https://github.com/frappe/frappejs) for managing models and objects. To develop alongside FrappeJS
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# clone frappejs
|
||||||
|
git clone https://github.com/frappe/books.git
|
||||||
|
|
||||||
|
# link frappejs
|
||||||
|
cd frappejs
|
||||||
|
yarn link
|
||||||
|
yarn link frappejs
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
[GNU Affero General Public License v3.0](LICENSE)
|
[GNU Affero General Public License v3.0](LICENSE)
|
||||||
|
@ -204,7 +204,7 @@ export default {
|
|||||||
|
|
||||||
getDate(...args) {
|
getDate(...args) {
|
||||||
let d = new Date(...args);
|
let d = new Date(...args);
|
||||||
return new Date(d.getTime() - d.getTimezoneOffset() * 60000);
|
return d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user