z3c.form日期和日期时间小部件

collective.z3cform.datetimewidget的Python项目详细描述


各种z3c.form日期和日期时间小部件

改进了z3c.form的datetime小部件

When the emphasis of the application you are designing is on speed and speed alone, then the single field pattern might be your friend. It’s particularly useful for data entry applications in which the person who has to enter the data will have to use the same input form time and time again.

collective.z3cform.datetimewidget库提供了一个表单框架 和小部件。本文档确保我们实现一个日期和 在zope.schema中定义的日期时间字段。看看不同的小部件 doctest文件以获取有关小部件的更多信息。

待办事项

  • create DateDeltaWidget and DatetimeDeltaWidget

贡献者

  • Vincent Fretin - vincentfretin
  • David Glick - davisagli
  • Rok Garbas - garbas
  • Carsten Senger - csenger
  • Róman Joost - romanofski
  • Héctor Velarde - hvelarde

更改日志

1.2.8(2017-09-08)

错误修复:

  • 防止以静默方式接受无效数据。 [博格丹吉]

1.2.7(2015-04-29)

  • 添加荷兰语翻译 [喷壶]
  • 修正AM/PM值的回发。 [大卫萨格里]

1.2.6(2014-01-27)

  • 根据当前区域设置的时间格式确定是否显示AM/PM。 [大卫萨格里]

1.2.5(2013-07-31)

  • 修复包分发。 [hvelarde]

1.2.4(2013-07-31)

  • 使用min/max字段属性或 存储在门户网站属性中的默认值。 [hvelarde]

1.2.3(2013-03-04)

  • 删除了日历弹出图标的硬编码样式。把这个留给dateinput.css 来自plone.app.jquerytools,它已经被应用了。 [smcmahon]

1.2.2(2013-01-13)

1.2.1(2012-10-10)

  • Make sure DOM is ready before activating the dateinput jQuery plugin. This was causing Internet Explorer 7 to fail. [rafaelbco]

1.2.0(2012-06-15)

  • Fix day names. Also respect the first day of the week from the current locale. This fixes http://code.google.com/p/dexterity/issues/detail?id=272 [davisagli]
  • Use viewpagetemplatefile from zope.browserpage. This breaks compatibility with Zope < 2.13 and Plone < 4.1 in order to minimize dependencies. [hannosch]

1.1.1(2011-09-24)

  • Fix conditional for the GS profile. [davisagli]

1.1(2011-09-12)

  • Fix validation errors so they are caught and correctly reported by z3c.form. [davisagli]
  • Added a GS profile (conditionally loaded in configure.zcml if generic setup is installed) to enable the plone.app.jquerytools css & js support for dateinput popup. [smcmahon]
  • Made js for dateinput popup check for jQuery().dateinput before invoking it. Changed from $ to jQuery. [smcmahon]
  • IE was baulking on a missing closing parenthesis. [danjacka]

1.0.5(2011-06-28)

  • Change more $ to jQuery. [danjacka]
  • Fix month selection issue with the date input widget. Previously, due to the leading zero, months < 10 weren’t being selected when picking a date on the calendar widget. [davidjb]
  • Fix date offset issue for default dates on the jQuery date input widget. Providing the default value as a JavaScript Date(yyyy, mm, dd) required months to be in the range of 0 to 11 but outputting as Date(“yyyy/mm/dd”) works as expected. [davidjb]
  • Fix issue with jQuery date input widget not being displayed when an incomplete date was entered. [davidjb]
  • Avoid error fetching widget values when no year or day was entered. [davisagli]
  • Made js for dateinput popup check for jQuery().dateinput before invoking it. Changed from $ to jQuery. [smcmahon]
  • removed trailing comma in JavaScript dict (which broke Internet Explorer) [Brainix]

1.0.4(2011-01-19)

  • fixed show_jquerytools_dateinput_js for DatetimeWidget [awello]
  • fix time-dependent test [davisagli]

1.0.3(2011-01-03)

  • Should use None for tal:attributes (Chameleon compatibility) [rossp]
  • Added options for calendar (via jquery.tools.dateinput) [garbas]

1.0.2(2010-07-20)

  • Fix invalid XML (Chameleon compatibility) [wichert]

1.0.1(2010-06-30)

  • add show_today_link to the IDateWidget interface [csenger]
  • Italian translation added [garbas]

1.0(2010-04-18)

  • extract values in HIDDEN_MODE and add test for extract() [csenger]
  • fix handling of AM/PM in DateTimeWidget and add test [csenger]

0.1a9(2009-09-07)

  • provide french translation [vincentfretin]

0.1a8(2009-09-04)

  • provide english, german, slovenian, spanish, portugal, croatian, serbian(latin&cyrilic) translations [garbas]

0.1a7(2009-09-04)

  • MonthYearWidget added [garbas]
  • spliting widget.py script into script for each widget [garbas]
  • only using one hidden/display template [garbas]
  • show_today_link widget option which is inserting current date into fields using plain javascript

0.1a6(2009-06-05)

  • intendation problem again, this just isnt my day, tests passing [garbas]

0.1a5(2009-06-05)

  • intendation problem, didn’t set new vim setup properly :P [garbas]

0.1a4(2009-06-05)

  • MANIFEST.in file fixed, now includes README.txt and HISTORY.txt [garbas]

0.1a3(2009-06-05)

  • widget was not showing values from request [garbas]
  • ISSUE 1: SOLVED [garbas] After some testing I have seen that some validations are missing, therefore I get an error when adding values like ‘99’ into the year field: “ValueError: year=99 is before 1900; the datetime strftime() methods require year >= 1900”

0.1a2(2009-05-28)

  • Register the widgets for custom interfaces that we apply to the standard datetime fields, to work around a problem with ZCML conflicting with z3c.form. [davisagli]

0.1a1(2009-05-11)

  • Initial release

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
NetBeans中的Java Swing滚动窗格   java如何与具有复合键的表建立关系?   Android中读取文件时java数据丢失   java黄瓜场景。embed在ubuntu机器上不工作?   java从spring mvc控制器操作中,我如何获得请求/响应的访问权限?   java减去两个长值   java选择下一个值firebase 安卓   用于起始和结尾连字符的java正则表达式   Java正则表达式解释   java Lifefay freemarker ADT:方法不可用?   java我怎样才能让我的开关盒作用于JFrame?   java在我的场景中使用连接池的理想方式是什么   java我如何接受jsoup的cookies?   java如何将整数数组更改为字符串数组?   java Android操作\u指针\u向上直到剩余触摸移动时才调用   java为什么gradle会出错?   io如何在java中复制/拆分输入流?   java使JButton不可见,但尊重其原始空间   java Spring提交表单获取复选框值不起作用