Closed (fixed)
Project:
Date
Version:
6.x-2.2
Component:
Date Popup
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 May 2009 at 13:04 UTC
Updated:
22 Jun 2009 at 22:50 UTC
Hello, I have a problem concerning the date or datetime field. When I use the textfield with calendar that pops up a calendar in order to choose the date, the time is never inserted in the database table: 2009-05-20T00:00:00. It only works if I use the textfield without the calendar popup.
I use: Drupal Version: 6.12
Date 6.x-2.2
Date PHP4 6.x-2.2
CCK version 6.x-2.2
Comments
Comment #1
2phaI was having the same problem becuase I was setting the date_format wrong when creating the date popup.
'd M Y h:i' didn't work
'd M Y h:iA' did
Comment #2
karens commentedYes, you have to use the format specified.