2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +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
# clone the repository
git clone https://github.com/frappe/books.git
# change directory
cd books
# install dependencies
yarn
# start the electron app
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
[GNU Affero General Public License v3.0](LICENSE)

View File

@ -204,7 +204,7 @@ export default {
getDate(...args) {
let d = new Date(...args);
return new Date(d.getTime() - d.getTimezoneOffset() * 60000);
return d;
}
}
};