Fix for bug #420708. Also, restructured the holiday support. I think this will be the final structure. This gives the most flexibility, a single file to handle all future years. This does not care about previous years rules.

This commit is contained in:
skeeter
2001-05-02 23:23:48 +00:00
parent 3d3163faaa
commit f1ac28bc71
9 changed files with 128 additions and 31 deletions

View File

@ -250,8 +250,11 @@
$sql = "CREATE TABLE phpgw_cal_holidays (
hol_id int(11) NOT NULL auto_increment,
locale char(2) NOT NULL,
name varchar(50) NOT NULL,
date_time int(11) DEFAULT '0' NOT NULL,
name varchar(50) NOT NULL,
mday int DEFAULT '0' NOT NULL,
month_num int DEFAULT '0' NOT NULL,
occurence int DEFAULT '0' NOT NULL,
dow int DEFAULT '0' NOT NULL,
PRIMARY KEY (hol_id)
)";
$phpgw_setup->db->query($sql);