collective/plone.formwidget.datetime — pull request #7 by href (2012-09-20 15:04:35+00:00)
Title: Fix for Issue #6

See https://github.com/collective/plone.formwidget.datetime/issues/6

The problem was that the days list was rotated by the firstday index. The comment said that it was necessary as the zope.i18n calendar returned the days beginning with the firstday. In other words, different depending on the locale.

However, in my tests and from reading the source I found no such evidence and I'm pretty convinced that the days are always returned beginning with monday.

Rotating the list so it starts with sunday is also exactly what fixed the same bug in collective.z3cform.datetimewidget.

Maybe there's some old version of zope.18n where this was different. But in my tests using Plone 4.2 this pull request fixes the issue.