Active
Project:
Birthdays
Version:
7.x-1.x-dev
Component:
Code (Birthdays)
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2012 at 13:11 UTC
Updated:
23 May 2012 at 22:09 UTC
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
Comment #0.0
milos.kroulik commentedI was mistaken.
Comment #1
Niklas Fiekas commentedCan you upload your hack as a patch, so that I con try and reproduce?
Comment #2
milos.kroulik commentedIt'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.
Comment #3
Niklas Fiekas commentedpartial_date looks awesome. Maybe birthdays should just add things on top of that, instead of having it's own storage.
Comment #4
milos.kroulik commentedYes, 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.
Comment #5
Niklas Fiekas commentedComment #5.0
Niklas Fiekas commentedmore correct