Bug #65068

Range in DatePicker and DateTimePicker not handled

Added by Nicole Cordes over 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2015-02-14
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

Currently min and max dates for date and dateTime picker aren't handled but the picker is completely disabled


Related issues

Related to TYPO3 Core - Bug #65055: Date and DateTimePicker not shown in FireFox and IE Closed 2015-02-13

Associated revisions

Revision 8567808d (diff)
Added by Nicole Cordes over 5 years ago

[BUGFIX] DatePicker can't handle minDate and maxDate

The Bootstrap DatePicker expects the min and max dates to be formatted
in the format defined in the options. Currently both dates are filled
with an unix timestamp. These can't be converted to a date object (moment
object) and the date picker is completely disabled.

This patch adds the conversion of unix timestamp to the right format
before the Bootstrap DatePicker is initialized.

Releases: master
Resolves: #65068
Change-Id: Ie8143efb537067dd89cfb42aa477f63b8c07f693
Reviewed-on: http://review.typo3.org/36892
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

History

#1 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36892

#2 Updated by Nicole Cordes over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#3 Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF