Fix a bug in current date computation