-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of multi accounts files #10 #64
Open
gustawdaniel
wants to merge
14
commits into
spmason:master
Choose a base branch
from
gustawdaniel:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
857a52a
Support of multi accounts files #10
gustawdaniel 72fafff
Auto detect date format
gustawdaniel 6bd7569
Added encoding option to select encoding by user
gustawdaniel 32d0fb1
Duplicates of accounts fixed (when accounts have the same name)
gustawdaniel 53e491a
Enable github actions
45e1b01
Delete .travis.yml
4ce0781
Bump eslint-plugin-import from 2.20.1 to 2.22.1
dependabot-preview[bot] ec3a700
Merge pull request #81 from spmason/dependabot/npm_and_yarn/eslint-pl…
dependabot-preview[bot] 2a62cdf
Support of multi accounts files #10
gustawdaniel 0a6368d
Auto detect date format
gustawdaniel b263d06
Added encoding option to select encoding by user
gustawdaniel c2394de
Duplicates of accounts fixed (when accounts have the same name)
gustawdaniel f81e39f
Updated packages in lock and cleaned library code
gustawdaniel 2abdbfb
Merge remote-tracking branch 'origin/master' into master
gustawdaniel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [10.x, 12.x, 14.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
const TYPES = [ | ||
{ | ||
name: 'Type:Cash', | ||
description: 'Cash Flow: Cash Account', | ||
list_name: 'transactions', | ||
}, | ||
{ | ||
name: 'Type:Bank', | ||
description: 'Cash Flow: Checking & Savings Account', | ||
list_name: 'transactions', | ||
}, | ||
{ | ||
name: 'Type:CCard', | ||
description: 'Cash Flow: Checking & Savings Account', | ||
list_name: 'transactions', | ||
}, | ||
{ | ||
name: 'Type:Invst', | ||
description: 'Investing: Investment Account', | ||
list_name: 'transactions', | ||
}, | ||
{ | ||
name: 'Type:Oth A', | ||
description: 'Property & Debt: Asset', | ||
list_name: 'transactions', | ||
}, | ||
{ | ||
name: 'Type:Oth L', | ||
description: 'Property & Debt: Liability', | ||
list_name: 'transactions', | ||
}, | ||
{ | ||
name: 'Type:Invoice', | ||
description: 'Invoice (Quicken for Business only)', | ||
list_name: 'transactions', | ||
}, | ||
{ | ||
name: 'Account', | ||
description: 'Account list or which account follows', | ||
list_name: 'accounts', | ||
}, | ||
{ | ||
name: 'Type:Cat', | ||
description: 'Category list', | ||
list_name: 'categories', | ||
}, | ||
{ | ||
name: 'Type:Class', | ||
description: 'Class list', | ||
list_name: 'classes', | ||
}, | ||
{ | ||
name: 'Type:Memorized', | ||
description: 'Memorized transaction list', | ||
list_name: 'memorized_lists', | ||
}, | ||
]; | ||
|
||
module.exports = { | ||
TYPES, | ||
}; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems a bit risky to say that any
dateStr
that includes a'
is a US date formatThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any better proposition? This code do not breaks compatibility but is open also for other date format, that I am using.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per #26 you can pass in a
dateFormat
option to control how the dates are parsed.us
is only supported for backward compatibility