I tried to comment the date validation feature, now this error pop up. I know I am hacking here, that's why it's support request. Do you have any idea, why do I experience this? I happens with dates older than cca 1901. Many thanks.

Warning: date_timezone_set() expects parameter 1 to be DateTime, boolean given in date_timezone_set() (line 1938 of C:\data\www\knihovna\includes\common.inc). =>
*/

Comments

milos.kroulik’s picture

Issue summary: View changes

I was mistaken.

Niklas Fiekas’s picture

Can you upload your hack as a patch, so that I con try and reproduce?

milos.kroulik’s picture

It's not really worth it, I just commented the date check in birthdays_birthdays.inc (lines 84-87). The correct implementation seems to be in http://drupal.org/project/partial_date, which works for my use case.

Niklas Fiekas’s picture

partial_date looks awesome. Maybe birthdays should just add things on top of that, instead of having it's own storage.

milos.kroulik’s picture

Yes, that would be great, because Partial Date's interface is far from perfect - for example, there is no plain textfield widget and no easy way to define custom date format. Settings are overcomplicated for people, who don't need to work with dates, which happened BC.

Niklas Fiekas’s picture

Title: Warning: date_timezone_set() expects parameter 1 to be DateTime » Integrate with the Partial Date module for storage
Category: support » feature
Niklas Fiekas’s picture

Issue summary: View changes

more correct