跳至内容
菜单
此问题已终结
1 回复
5512 查看
Hi guyz,

Firstly, when a date field is set, for ex:
    'date': fields.date('Date'),

The years displayed are normally 2003 - 2023 as the current year is 2013 i.e. +/-10 years in the selection box for years. 
But normally when we see any site for date of birth, they provide year range from 1970 -2013(i.e. present).

Is there any way to make the range bigger.
形象
丢弃
最佳答案

Choose 2003 and then range shift to 1993. And step by step you go to 1920. The same in other direction. Or just write it by hand.

形象
丢弃
编写者

there is no range before 2003, so how can i get 1920 selected. tell me how to customize the range.

编写者

I need customization of date field through code.

相关帖文 回复 查看 活动
1
3月 25
6364
1
11月 22
3309
3
11月 21
25987
1
5月 17
4581
2
3月 15
5277