添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
有腹肌的豆腐  ·  Preserving time-date ...·  1 月前    · 
豪爽的麦片  ·  Out of date ...·  2 周前    · 
细心的板栗  ·  JS ...·  2 周前    · 
骑白马的大熊猫  ·  Canvas Group ...·  3 月前    · 
幸福的开水瓶  ·  No module named ...·  4 月前    · 
活泼的铁链  ·  Sudo bench setup ...·  5 月前    · 
Date Format in Input_Calender rich widget
2251 Views
14 Comments
Question
the default date format is YYYY-MM-DD (2013-08-30) for 30th Aug 2013.
I need to use the format 30-Aug-2013 in my application.
I am successful in displaying the date in 30-Aug-2013 format when I fetch the date saved in database.
The issue is when I select the date in Input box using Input_calender rich widget.
I setup the date format property "%d-%b-%Y" in calender widget which does display the dates in required format however the datatype changes to text and I get an error that date required while saving the data.
The texttodate function doesn't help as it requires text in YYYY-MM-DD format.
Can someone help here please.