Steps to reproduce:

1) Use last dev. version of Date module (I also have latest Calendar build if it makes any difference at all)
2) Add non-English locale (I am using Russian)
3) Create a new node type with Date field
4) Choose Popup calendar widget
5) Set date format to any other than default mm/dd/YYYY (I am using dd.mm.YYYY) with Day granularity
6) save
7) create new node and use popup calendar to choose any date
8) try to save the node to see the error "Date format is invalid"
9) now change the date field settings to use a text field instead of popup calendar widget
10) create new node and enter exactly the same date in the same format as on step 8 - now the error goes away and the node creates normally.

Comments

KarenS’s picture

Status: Active » Postponed (maintainer needs more info)

How is it possible to "Set date format to any other than default mm/dd/YYYY (I am using dd.mm.YYYY) with Day granularity"? That is not an option with the Date Popup widget.

KarenS’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

OK, I see how it is possible -- change your 'short' format to use d.m.Y, then it will show up as an input option. But I tried that and works fine in the latest code. If you actually tried to use 'dd.mm.YYYY' as in your example, THAT would certainly be invalid, and it would have produced no error but the wrong results in a text field.

new123456789’s picture

My settings are as follows:

Manage fields
More settings and values
Date entry
Date entry options
02/04/2013 - 9:40:59pm

Manage display
Short (02/04/2013 - 9:39pm)

However, I am still getting the "The value in Date is not a valid date." error.

What am I doing wrong?