In date.field.inc at line 229:
'granularity' => drupal_map_assoc(array('year', 'month', 'day', 'hour', 'minute'))
in my opinion there should be
'granularity' => drupal_map_assoc(array('year', 'month', 'day', 'hour', 'minute','second')),

and also in date_admin.inc in condition which is starting at 324 line
if (in_array($widget['type'], array('date_select', 'date_popup'))) ... there should be also seconds when using 'second' granularity.

Files: 
CommentFileSizeAuthor
#2 missing_second-1893826-2.patch1.98 KBValentine94
FAILED: [[SimpleTest]]: [MySQL] 3,983 pass(es), 1,259 fail(s), and 258 exception(s).
[ View ]

Comments

mist’s picture

Issue summary:View changes

additional information

podarok’s picture

Version:7.x-2.6» 7.x-2.x-dev
Issue summary:View changes
Status:Needs review» Patch (to be ported)

You should upload patch in git diff format http://drupal.org/patch with Needs review status for review

Valentine94’s picture

Status:Patch (to be ported)» Needs review
StatusFileSize
new1.98 KB
FAILED: [[SimpleTest]]: [MySQL] 3,983 pass(es), 1,259 fail(s), and 258 exception(s).
[ View ]

Part of proposed solution with some standards fix's.

Status:Needs review» Needs work

The last submitted patch, 2: missing_second-1893826-2.patch, failed testing.