bgame-hunter / mdcsvimporter

Automatically exported from code.google.com/p/mdcsvimporter
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Parser only works if CSV file uses $ as the currency symbol. Need to be able to specify own currency #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I have a CSV file in the following format:

---
"Date","Transaction type","Description","Paid out","Paid in","Balance"
"02 Apr 2012","Direct debit","TV LICENCE MBP","£12.12","","£4581.58"

---

Note the currency symbol = £

When I create my own custom reader, the parser can't parse my file and reports:

File Reader Format: Format not recognized
Date Format: Date format not recognized    

This is because of the use of £ instead of $ for the currency.  As soon as I 
change the £ to $ in my CSV, it works successfully.  It also works if I remove 
the $ (expected given the default if one isn't set is $).

The customReaderDialog has the option to specify your own currency value, 
however it is disabled so you can't set it directly.  

Modifying the AmountCurrencyChar line in the 
${HOME}/.moneydance/mdcsvimporter.props file (change it from 36 to 163) has no 
effect either. 

What is the expected output? What do you see instead?

The plugin should allow one to specify their own currency symbol.

What version of the product are you using? On what operating system?

Beta 15.7.5 in MoneyDance 2011r2 (803) on OS X 10.7.4

Please provide any additional information below.

Original issue reported on code.google.com by lild...@gmail.com on 30 Jun 2012 at 11:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yes, the option to specify your own currency value is disabled.
It is a future planned, when I have time to finish it, enhancement.

Original comment by stashu....@gmail.com on 1 Jul 2012 at 5:50

GoogleCodeExporter commented 8 years ago
Its really a required feature

Original comment by binukala...@gmail.com on 29 Jul 2012 at 6:03

GoogleCodeExporter commented 8 years ago
I finally fixed this one. I skip leading non-digits to skip currency symbols so 
non $ signs will work. Get 15.7.10.zip

Original comment by stashu....@gmail.com on 18 Jun 2013 at 5:02