Fixed inconsistent date in application

Fix for issue #46