Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The current tests only test really limited part of the date mapper.
It only utilizes one field with only a start timestamp.
Other things to test:
date in textual representation
start date - end date
date only, time only, date+time fields
all-day events
timezone mapping
Comment | File | Size | Author |
---|---|---|---|
#1 | 552480_better_date_test.patch | 4.02 KB | Aron Novak |
Comments
Comment #1
Aron NovakPatch for extended date mapper test.
Now it maps:
- timestamp to start_stamp
- textual date to start_date
To do:
- include a feed with multiple dates, so test end_stamp and end_date as well
Comment #2
Aron NovakI improved the date mapper a little bit while writing the test above: #553566: More flexible date handling in date mapper.
Please apply that patch before trying the test.