Set task deadline time

Changed

Context

The current setup doesn't allow setting date only, and takes extra effort to set the time.

Sometimes the deadline is a day, and sometimes I want to set the time.

Deadline field requires time entry

Using core datetime field, with date and time.

Questions

Would it help to separate the date and time fields?

  • Would that cause issues with views?
    • Could create a datetime or timestamp value on save.

How about defaulting to 5:00pm? Or 23:59? Or 24:00? or 00:00?

What modules can help with this?

Issues

Support a per-instance "all-day" option for datetime and datetime range fields

View on Drupal.org #3171554Relative dates for fields are not calculated with respect to Drupal::time() Status: Reviewed & tested by the community

Findings

Gpt suggests using 23:59 to represent an end of day deadline.

Users in different timezones could have an issue if the deadline was end of workday. A datetime with 5pm for the east coast is a different value than west. A custom widget/formatter is needed.

Some long standing issues around setting a default time, regarding user timezone handling.

Done

Use relative time 12am, works out as 5pm PDT. (But will need to be changed again for daylight savings time.

Task type
Project
Parent task
Topics
Modules