cfengine/core — pull request #1010 by bahamat (2013-10-13 09:26:50+00:00)
Title: Fix strftime unit test.

The test tests/acceptance/01_vars/02_functions/strftime.cf would fail
builds on Sundays. The policy specified Sunday as 7 but strftime specifies
Sunday as 0.

From strftime(3):

%w is replaced by the weekday (Sunday as the first day of the week)
as a decimal number (0-6).