hicknhack-software / redmine_time_tracker

A time tracker plugin for Redmine
Other
106 stars 32 forks source link

The date string returned by the datepicker for date filter is incorrect #95

Closed shuozhifenxi closed 11 years ago

shuozhifenxi commented 11 years ago

Hi,

In the date filter we have a datepicker to select (input) the date and the result returned is in the format like "07/29/2013". However, the program expect the format like "2013-07-29". The wrong format input date will bring just no result returned by the filter.

jume-dev commented 11 years ago

yeah, right. will fix this, but i am not sure how. i mean, there are 2 possibilites. i could either fix the datepicker or the datefilter, where datepickerfix is easier (maybe) but the datefilter has the better results.

jume-dev commented 11 years ago

Ok, got it fixed, but with kinda inconsistent way to fix the datepicker. So, that means, the datepicker for filters is not longer localized, but there was no other way without patching too much from redmine.

shuozhifenxi commented 11 years ago

Thank you very much.

And what do you mean by " the datepicker for filters is not longer localized"?

jume-dev commented 11 years ago

The dateformat for the filters is always yyyy-mm-dd.