vhochstein/active_scaffold — Issue #191: Typo in date format conversion
Author: vtt
Created: 2012-02-07 16:30:04+00:00
State: open

In file lib/active_scaffold/bridges/date_picker/lib/datepicker_bridge.rb, the section:
DATE_FORMAT_CONVERSION = {
'%a' => 'D',
'%A' => 'DD',
'%b' => 'M',
'$B' => 'MM',
'%d' => 'dd',
'%e' => 'd',
'%j' => 'oo',
'%m' => 'mm',
'%y' => 'y',
'%Y' => 'yy',
'%H' => 'hh', # options ampm => false
'%I' => 'hh', # options ampm => true
'%M' => 'mm',
'%p' => 'tt',
'%S' => 'ss'
}

The line '$B' => 'MM', should be '%B' => 'MM',