2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00

Merge branch 'master' into patch-1

This commit is contained in:
Faris Ansari 2020-05-11 20:17:42 +05:30 committed by GitHub
commit 73f2eaf701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -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)

View File

@ -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;
} }
} }
}; };