MumbaiStock v 1.4 Gnucash Finance Module enhancement released

Note that I no longer use github

MumbaiStock v 1.4 Gnucash Finance Module has been released. This fixes a date calculation bug.

MumbaiStock Gnucash Finance Module (https://github.com/geetuvaswani/MumbaiStock) had a bug… that it could not calculate the previous date correctly at end of any month. The arithmetic was wrong and it was expected that the programmer would build the code to perform date subtraction and addition and check for month-end dates and more. It could never retrieve the correct copy of the bhavcopy CSV file from the Bombay Stock Exchange at month ends.

This bug has been fixed. Version 1.4 is a major enhancement to that extent. It uses the localtime perl function and reduces the equivalent of 1 day in seconds from the local date to arrive at the correct date. Using this method eliminates the need for the program to have the date arithmetic built in to reduce the day by 1, check the month and then if needed reduce the month by 1.

Download the MumbaiStock.pm module from https://github.com/geetuvaswani/MumbaiStock/blob/master/MumbaiStock.pm and follow the instructions listed at http://www.askmeaboutlinux.com/?p=2500 to install and use it.

Leave a Reply

  

  

  

Blue Captcha Image
Refresh

*

April 2019
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
2930