
Date Calculator
Source (link to git-repo or to original if based on someone elses unmodified work):
Features
- Determine the number of days between two dates
- Add or subtract a number of days to or from a date
- Perform calculations based on working days only
- Perform calculations inclusive of start/end dates
- Specify holidays based on a fixed date, relative dates, or lunar dependent dates
- Save different sets of holidays as templates, useful for easily calculating dates based on different criteria
- View the holidays for the current holiday set for different years
- View the analysis of working days for each calculation
- Create a PDF report for a calculation for filing purposes
This application is available for both Linux and Windows.
20 May 2010 - 1.0
Fixed a stupid bug that meant that calculations could not be done until the user had set up holidays
2 May 2010 - 0.99
Added a lot of new features:
- Support for ranges of dates for holidays
- Support for holiday templates allowing you to save and access different holiday sets
- Support for creating a PDF report of a calculation
- Display all the holidays of the current template for a particular year
- Display a log of the working days in a calculation
- New UI layout
- Heaps of bug fixes
20 April 2010 - 0.95
- Fixed yet another version check bug
- Fixed a bug with the recognition of easter holidays
12 April 2010 - 0.94
- Fixed another version check bug
- Fixed calculation bug with addition/subtraction of dates
11 April 2010 - 0.93
- Fixed bugs with version checking
- Fixed bug with windows version so that config data is saved in the correct place
9 April 2010 - 0.92
- New date input method using calendar style input
- More bug fixes
- Packageing fixes in Windows version
6 April 2010 - 0.91
Fixed version references, added a check for updated versions and minor bug fixes.
5 April 2010 - 0.9
This is a port of Date Calculator to pyqt4.
- Ported to pyqt4.
- Cross-platform support for Windows.
- Bug fixes to original app.
Ratings & Comments
3 Comments
I had the previous version and everything worked fine. When I updated to the latest version the application fails to launch. This is the output I get from running the commands. [julio@localhost ~]$ tar -jxpf date_calc.0.94.tar.bz2 [julio@localhost ~]$ cd date_calculator [julio@localhost date_calculator]$ ./date_calc_4.py ./date_calc_4.py:87: SyntaxWarning: import * only allowed at module level def addNumber(self): ./date_calc_4.py:112: SyntaxWarning: import * only allowed at module level def subtractNumber(self): ./date_calc_4.py:135: SyntaxWarning: import * only allowed at module level def deltaDates(self): ./date_calc_4.py:135: SyntaxWarning: import * only allowed at module level def deltaDates(self): ./date_calc_4.py:321: SyntaxWarning: import * only allowed at module level def writeConfig(self): Getting Configuration ... Couldn't get data from file. Using defaults ... <ConfigParser.RawConfigParser instance at 0xb567abcc> No cached version Traceback (most recent call last): File "./date_calc_4.py", line 459, in <module> mw = mainwindow() File "./date_calc_4.py", line 21, in __init__ self.checkVersion() File "./date_calc_4.py", line 75, in checkVersion self.f.QMessageBox.information(self.f.spinBox, "New Version Available", "There is a new version of Date Calculator available.\nDownload it from http://everydaylht.com/my-apps/date-calculator") AttributeError: 'Ui_Dialog' object has no attribute 'QMessageBox' [julio@localhost date_calculator]$ cd /home/julio/date_calculator [julio@localhost date_calculator]$ ./date_calc_4.py ./date_calc_4.py:87: SyntaxWarning: import * only allowed at module level def addNumber(self): ./date_calc_4.py:112: SyntaxWarning: import * only allowed at module level def subtractNumber(self): ./date_calc_4.py:135: SyntaxWarning: import * only allowed at module level def deltaDates(self): ./date_calc_4.py:135: SyntaxWarning: import * only allowed at module level def deltaDates(self): ./date_calc_4.py:321: SyntaxWarning: import * only allowed at module level def writeConfig(self): Getting Configuration ... Couldn't get data from file. Using defaults ... <ConfigParser.RawConfigParser instance at 0xb5737bcc> No cached version Traceback (most recent call last): File "./date_calc_4.py", line 459, in <module> mw = mainwindow() File "./date_calc_4.py", line 21, in __init__ self.checkVersion() File "./date_calc_4.py", line 75, in checkVersion self.f.QMessageBox.information(self.f.spinBox, "New Version Available", "There is a new version of Date Calculator available.\nDownload it from http://everydaylht.com/my-apps/date-calculator") AttributeError: 'Ui_Dialog' object has no attribute 'QMessageBox' [julio@localhost date_calculator]$
Sorry, had the download link pointing to the old version. Should work now. Cheers
leisure suit Larry is gonna Love this,lol.