Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dates before 1900 #2090

Merged
merged 16 commits into from
Aug 2, 2022
Merged

Add support for dates before 1900 #2090

merged 16 commits into from
Aug 2, 2022

Commits on Aug 1, 2022

  1. Catch ValueError in datetimewidget

    Traceback:
    ```
    Traceback (innermost last):
      Module ZServer.ZPublisher.Publish, line 144, in publish
      Module ZPublisher.mapply, line 85, in mapply
      Module ZServer.ZPublisher.Publish, line 44, in call_object
      Module bika.lims.browser.analysisrequest.view, line 42, in __call__
      Module bika.lims.browser.header_table, line 99, in __call__
      Module Products.Five.browser.pagetemplatefile, line 126, in __call__
      Module Products.Five.browser.pagetemplatefile, line 61, in __call__
      Module zope.pagetemplate.pagetemplate, line 135, in pt_render
      Module Products.PageTemplates.engine, line 378, in __call__
      Module z3c.pt.pagetemplate, line 176, in render
      Module chameleon.zpt.template, line 302, in render
      Module chameleon.template, line 215, in render
      Module chameleon.template, line 192, in render
      Module b5af7af227d0614ddb683e49ef7fbcf2, line 576, in render
      Module f84d498475cc404181368cde9fa956bc, line 379, in render_edit
      Module d88bffbebbf4e01f15a333556ab23c2e, line 702, in render_edit
      Module f84d498475cc404181368cde9fa956bc, line 323, in __fill_widget_body
      Module zope.tales.pythonexpr, line 73, in __call__
       - __traceback_info__: (widget.get_time(value) if value else '')
      Module <string>, line 1, in <module>
      Module senaite.core.browser.widgets.datetimewidget, line 88, in get_time
      Module DateTime.DateTime, line 1566, in strftime
    ValueError: year=1111 is before 1900; the datetime strftime() methods require year >= 1900
    ```
    ramonski committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    100e0f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a1c68b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f5aeeb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30b8c48 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee22fc9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d9f67c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    295b78b View commit details
    Browse the repository at this point in the history
  8. Changelog updated

    ramonski committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    b99976d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    58c04df View commit details
    Browse the repository at this point in the history
  10. Make flake8 happy

    ramonski committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    b2e5815 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f19c9a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    76b3217 View commit details
    Browse the repository at this point in the history
  2. merged

    ramonski committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    175286d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4e8db4 View commit details
    Browse the repository at this point in the history
  4. Removed unused imports

    xispa committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    3b69a6e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c68ee3e View commit details
    Browse the repository at this point in the history