Ticket #878 (new defect)

Opened 1 year ago

SGL_Output::showDateSelector, displays january as default no matter what date is input

Reported by: Bleupomme Assigned to: somebody
Priority: normal Milestone:
Component: SGL - Output Severity: not categorised
Keywords: Cc:

Description

Todays date was input as first parameter. The year and day were right, the month was default to january. Traced the error to SGL_Date::getMonthFormOptions. The array $aMonths seems to have wrong keys (shifted by 13) this was the output: Array (

[13] => Janvier [14] => Février [15] => Mars [16] => Avril [17] => Mai [18] => Juin [19] => Juillet [20] => Aout [21] => Septembre [22] => Octobre [23] => Novembre [24] => Décembre

) (my language setting is set to fr_UTF-8)