Closed (works as designed)
Project:
Date
Version:
7.x-2.0-alpha4
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2011 at 06:09 UTC
Updated:
22 Jan 2012 at 23:41 UTC
When I use the Date (UNIX timestamp) field and I select an "All day" event,
the timestamp returned is the correct day, but the hour is 00:00:00 , seeing this is an all day event, shouldn't the timestamp being returned be set to 23:59:59?
Comments
Comment #1
arlinsandbulte commentedThis is 'by design' in the date module (and has recently been modified a bit).
If the (new) Date All Day module is disabled, 'All Day' will never be shown.
If the (new) Date All Day module is enabled, date fields with only a Start Date are flagged as 'All Day' when the time is 00:00:00. Date fields with a Start & End Date are flagged as 'All Day' when Start & End date are the same and the time of both is 00:00:00.
See #874322: To Date & All Day Date Handling for ongoing discussion on this functionality.