Fix strdex date calculations
Merge pull request #46 from aellawind/master

Fix strdex date calculations