SEL-Columbia / enketo

A lightweight offline-capable web survey application that is compatible with JavaRosa/OpenRosa XForm-derived format and compliant servers.
https://enketo.org
Apache License 2.0
16 stars 13 forks source link

year widget: timezone bug and date default shown should be 'yyyy' #408

Closed MartijnR closed 11 years ago

MartijnR commented 11 years ago

From forum:

"I have a date variable with the appearance set to "year" and default set to '1980-1-1'. I encountered these issues:

On FH When viewing the form from the web, I see the default value: 1979-12-31, which is a day off, and includes the month and day. When I click the widget, I only get to view a list of years, as expected. However, I expect to see only the year 1980, and not the whole date."

MartijnR commented 11 years ago

postponed till after enketo/enketo#233

MartijnR commented 11 years ago

moved to: https://github.com/MartijnR/enketo-core/issues/43