20131109 (Saturday, 09 November 2013)

Committing after midnight

I really like my method of having at most one blog entry per day where I write down everything I did that day, all projects mixed.

The fab ci command then does a combined commit and push using either Mercurial or Git, specifying today’s blog entry as commit message.

A subtle problem occured when I worked longer than midnight before committing: I needed to start a new blog entry just to “commit yesterday’s work” (as happened e.g. on 2013-05-23).

Now I can set a hard-coded TODAY date in such situations. See atelier.fablib.get_current_date() and atelier.TODAY