Issue 14325

'All day' looks very weird in the resources date fields

14325
Reporter: feedback bot
Assignee: cvizitiu
Type: Improvement
Summary: 'All day' looks very weird in the resources date fields
Description: Can we please lose the phrase 'all day' after the date given for each resource? It looks kind of peculiar - not sure if this needs a change at the IMS end or if Cip can do it from Drupal.
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-11-01 15:09:20.055
Updated: 2015-03-02 16:52:27.585
Resolved: 2015-03-02 16:52:27.547
        
    


Author: kbraak@gbif.org
Comment: [~saipanjiguly@gbif.org] do you care to comment on this issue? Is it something you can fix? Thanks
Created: 2013-12-19 14:26:59.835
Updated: 2013-12-19 14:26:59.835


Author: sampreethi
Comment: I'd need to check with Cip and/or Alberto on this. 
Created: 2013-12-20 09:22:49.062
Updated: 2013-12-20 09:22:49.062


Author: thirsch@gbif.org
Comment: [~saipanjiguly@gbif.org] says [~cvizitiu@gbif.org] will fix this - please close when done.
Created: 2014-01-06 11:27:56.728
Updated: 2014-01-06 11:27:56.728


Author: cvizitiu@gbif.org
Created: 2014-02-24 15:10:10.086
Updated: 2014-02-24 15:10:10.086
        
Basically a timestamp problem: during import field_publishing_date is derived as Unix timestamp from the value returned by the FileMaker library; except the FM value has only the day field which in return will make the PHP library give us 12:00 a.m. as the time; which of course will make the date module in Drupal mark it as "All Day"

a. Try and fiddle with the date call backs, intercept "All Day" and try to hide it
b. Solve the problem at source: add 1h to the time calculation(s) and trigger an import for all resources (my preferred solution)

    


Author: trobertson@gbif.org
Created: 2014-03-31 14:32:25.467
Updated: 2014-03-31 14:32:25.467
        
Is this suitable [~cvizitiu@gbif.org] [~bko@gbif.org] https://drupal.org/node/367842 ?



    


Author: cvizitiu@gbif.org
Comment: Cutting down the field's precision seems to do the trick. 
Created: 2014-03-31 14:44:01.667
Updated: 2014-03-31 14:44:01.667


Author: cvizitiu@gbif.org
Comment: [~trobertson@gbif.org] please check the applied fix and eventually close the issue.
Created: 2014-03-31 15:45:24.357
Updated: 2014-03-31 15:45:24.357