Index: openacs-4/packages/ref-timezones/ref-timezones.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ref-timezones/ref-timezones.info,v
diff -u -r1.18 -r1.19
--- openacs-4/packages/ref-timezones/ref-timezones.info 12 Jul 2004 14:50:06 -0000 1.18
+++ openacs-4/packages/ref-timezones/ref-timezones.info 24 Jul 2004 15:10:14 -0000 1.19
@@ -7,14 +7,14 @@
t
t
-
+
Jon Griffin
Timezone data for acs-reference.
2004-04-29
Mayuli Enterprises, LLC
This is the timezone data for the acs-reference data package. Used by acs-lang (among others) for localized times.
-
+
Index: openacs-4/packages/ref-timezones/sql/postgresql/ref-timezones-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ref-timezones/sql/postgresql/ref-timezones-create.sql,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/ref-timezones/sql/postgresql/ref-timezones-create.sql 11 Dec 2003 21:40:11 -0000 1.9
+++ openacs-4/packages/ref-timezones/sql/postgresql/ref-timezones-create.sql 24 Jul 2004 15:10:16 -0000 1.10
@@ -253,7 +253,7 @@
create or replace function timezone__get_abbrev (integer, timestamptz) returns varchar as '
declare
p_tz_id alias for $1;
- p_time for $2;
+ p_time alias for $2;
v_abbrev timezone_rules.abbrev%TYPE;
begin
v_abbrev := ''GMT'';
Index: openacs-4/packages/ref-timezones/sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ref-timezones/sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/ref-timezones/sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql 24 Jul 2004 15:10:16 -0000 1.1
@@ -0,0 +1,15 @@
+-- alias missing from p_time decl.
+create or replace function timezone__get_abbrev (integer, timestamptz) returns varchar as '
+declare
+ p_tz_id alias for $1;
+ p_time alias for $2;
+ v_abbrev timezone_rules.abbrev%TYPE;
+begin
+ v_abbrev := ''GMT'';
+
+ select abbrev into v_abbrev
+ from timezone_rules
+ where tz_id = p_tz_id and p_time between local_start and local_end;
+
+ return v_abbrev;
+end;' language 'plpgsql' stable;