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:
commit
73f2eaf701
17
README.md
17
README.md
@ -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)
|
||||
|
@ -204,7 +204,7 @@ export default {
|
||||
|
||||
getDate(...args) {
|
||||
let d = new Date(...args);
|
||||
return new Date(d.getTime() - d.getTimezoneOffset() * 60000);
|
||||
return d;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user