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.
I'm referring to the moment after a date is chosen and the user clicks on the time picker. I've seen confused looks on the faces of several users when the time defaults to the current time, especially the minutes setting. It really doesn't make any sense that now is used as the default time for future events.
Comment | File | Size | Author |
---|---|---|---|
#4 | date-empty-default-value-current-time.patch | 1.82 KB | ezheidtmann |
Comments
Comment #1
amanire CreditAttribution: amanire commentedComment #2
drewish CreditAttribution: drewish commentedyeah, i'd agree. it's kind of wierd to start typing and have the current time pop in.
Comment #3
arlinsandbulte CreditAttribution: arlinsandbulte commentedSort of related to these issues, IMO:
#523218: Default value for To date: Blank should stay blank - D6 issue
#874322: To Date & All Day Date Handling - D7 issue
Comment #4
ezheidtmann CreditAttribution: ezheidtmann commentedAs far as I can tell, those linked issues are not duplicates.
This patch fixes the issue by not sending a "startTime" option to the jQuery timepicker if the field doesn't have a default value.
However, I would support removing the startTime under all circumstances; In many circumstances it's confusing to have the list of values starting at the current time.
Comment #6
ezheidtmann CreditAttribution: ezheidtmann commentedComment #7
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedis this patch for 7.x?