Update gitignore
Allow the daily-log function to be optional
Compensate for the timezone in date calculation