/[drupal]/contributions/modules/date/date_api_sql.inc
ViewVC logotype

Log of /contributions/modules/date/date_api_sql.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.9.2.3.2.37 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 16 11:13:01 2009 UTC (2 months, 1 week ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-4
Changes since 1.9.2.3.2.36: +2 -2 lines
Diff to previous 1.9.2.3.2.36 , to branch point 1.9.2.3 , to next main 1.9.2.4
#565830, by bengtan, Fix Postgres handling of hour '0'.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 8 08:52:19 2009 UTC (2 months, 2 weeks ago) by karens
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +6 -6 lines
Diff to previous 1.15
Getting HEAD ready for D7.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 5 09:26:57 2009 UTC (2 months, 3 weeks ago) by karens
Branch: MAIN
Changes since 1.14: +28 -28 lines
Diff to previous 1.14
Prepare HEAD for D7.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 4 09:52:11 2009 UTC (2 months, 3 weeks ago) by karens
Branch: MAIN
Changes since 1.13: +48 -14 lines
Diff to previous 1.13
Prepare HEAD for D7.

Revision 1.4.2.41 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 3 15:38:25 2009 UTC (6 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-7, DRUPAL-5--2-8
Changes since 1.4.2.40: +2 -1 lines
Diff to previous 1.4.2.40 , to branch point 1.4 , to next main 1.16
#427830 Postgres can't handle \T, patch by scottgifford.

Revision 1.9.2.3.2.36 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 3 15:37:16 2009 UTC (6 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-2, DRUPAL-6--2-3
Changes since 1.9.2.3.2.35: +2 -1 lines
Diff to previous 1.9.2.3.2.35 , to branch point 1.9.2.3
#427830 Postgres can't handle \T, patch by scottgifford.

Revision 1.9.2.3.2.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 26 18:48:00 2009 UTC (9 months ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0, DRUPAL-6--2-1
Changes since 1.9.2.3.2.34: +44 -11 lines
Diff to previous 1.9.2.3.2.34 , to branch point 1.9.2.3
Improve interpretation of argument date ranges.

Revision 1.4.2.40 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 26 18:47:48 2009 UTC (9 months ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-6
Changes since 1.4.2.39: +45 -12 lines
Diff to previous 1.4.2.39 , to branch point 1.4
Improve interpretation of argument date ranges.

Revision 1.9.2.3.2.34 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 16 23:46:08 2009 UTC (9 months, 1 week ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.33: +3 -3 lines
Diff to previous 1.9.2.3.2.33 , to branch point 1.9.2.3
#338253 Re-work date_t() to create a more robust method of handling translations of abbreviations and other short strings.

Revision 1.4.2.39 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 13:49:23 2009 UTC (10 months, 1 week ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.38: +2 -2 lines
Diff to previous 1.4.2.38 , to branch point 1.4
Fix broken handling of some partial (year or month and year) dates and pave the way for fuzzy granularity by adjusting date_is_valid() and date_make_date() to better handle partial dates.

Revision 1.9.2.3.2.33 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 13:49:05 2009 UTC (10 months, 1 week ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.32: +2 -2 lines
Diff to previous 1.9.2.3.2.32 , to branch point 1.9.2.3
Fix broken handling of some partial (year or month and year) dates and pave the way for fuzzy granularity by adjusting date_is_valid() and date_make_date() to better handle partial dates.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 13 17:55:32 2008 UTC (11 months, 2 weeks ago) by karens
Branch: MAIN
Changes since 1.12: +16 -2 lines
Diff to previous 1.12
Synch HEAD to latest D6.

Revision 1.9.2.3.2.32 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 3 20:15:33 2008 UTC (11 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.31: +16 -2 lines
Diff to previous 1.9.2.3.2.31 , to branch point 1.9.2.3
Add ability to analyze a period to period argument, like P1M--P1Y.

Revision 1.4.2.38 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 3 20:15:19 2008 UTC (11 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-5
Changes since 1.4.2.37: +16 -2 lines
Diff to previous 1.4.2.37 , to branch point 1.4
Add ability to analyze a period to period argument, like P1M--P1Y.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 2 21:03:06 2008 UTC (11 months, 3 weeks ago) by karens
Branch: MAIN
Changes since 1.11: +80 -14 lines
Diff to previous 1.11
Synch HEAD to match D6.2 branch.

Revision 1.4.2.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 30 18:52:23 2008 UTC (11 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.36: +2 -2 lines
Diff to previous 1.4.2.36 , to branch point 1.4
#340394 Fix four-digit year format for PostgreSQL, patch by snoble.

Revision 1.9.2.3.2.31 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 30 18:52:11 2008 UTC (11 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-RC6
Changes since 1.9.2.3.2.30: +2 -2 lines
Diff to previous 1.9.2.3.2.30 , to branch point 1.9.2.3
#340394 Fix four-digit year format for PostgreSQL, patch by snoble.

Revision 1.9.2.3.2.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 29 14:13:09 2008 UTC (11 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.29: +2 -2 lines
Diff to previous 1.9.2.3.2.29 , to branch point 1.9.2.3
#336255 Fix a few remaining places where timezone=none was not being handled correctly, and add update to clean up incorrect values stored in database.

Revision 1.4.2.36 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 13:11:03 2008 UTC (11 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.35: +2 -2 lines
Diff to previous 1.4.2.35 , to branch point 1.4
Date sql handler wasn't properly setting db timezone to UTC for mysql databases.

Revision 1.9.2.3.2.29 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 13:10:33 2008 UTC (11 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.28: +2 -2 lines
Diff to previous 1.9.2.3.2.28 , to branch point 1.9.2.3
Date sql handler wasn't properly setting db timezone to UTC for mysql databases.

Revision 1.9.2.3.2.28 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 22 13:52:30 2008 UTC (12 months ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.27: +38 -1 lines
Diff to previous 1.9.2.3.2.27 , to branch point 1.9.2.3
#336255 Add new helper functions to make work of other modules, like Signup, easier. One helper to create a date handler for a field and another to do make date math easier.

Revision 1.4.2.35 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 22 13:52:11 2008 UTC (12 months ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.34: +38 -1 lines
Diff to previous 1.4.2.34 , to branch point 1.4
#336255 Add new helper functions to make work of other modules, like Signup, easier. One helper to create a date handler for a field and another to do make date math easier.

Revision 1.9.2.3.2.27 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 29 15:57:28 2008 UTC (12 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-RC5
Changes since 1.9.2.3.2.26: +3 -1 lines
Diff to previous 1.9.2.3.2.26 , to branch point 1.9.2.3
Fix broken SQL for week arguments and filters, we can't use DATE_FORMAT(), must look for week start and end.

Revision 1.9.2.3.2.26 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 21:23:50 2008 UTC (13 months, 1 week ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.25: +2 -2 lines
Diff to previous 1.9.2.3.2.25 , to branch point 1.9.2.3
#322649 Add escaping for %s in date format code, patch by Pedro Lozano.

Revision 1.9.2.3.2.25 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 5 11:05:05 2008 UTC (14 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-RC3, DRUPAL-6--2-0-RC4
Changes since 1.9.2.3.2.24: +1 -1 lines
Diff to previous 1.9.2.3.2.24 , to branch point 1.9.2.3
Put back some files that shouldn't have gotten moved.

Revision 1.9.2.3.2.24
Fri Sep 5 11:03:56 2008 UTC (14 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.23: +1 -1 lines
FILE REMOVED
Update to new Views2 API. Now requires latest versions of Views and CCK, and files have been re-arranged.

Revision 1.4.2.34 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 2 19:53:13 2008 UTC (14 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-1, DRUPAL-5--2-1-2, DRUPAL-5--2-2, DRUPAL-5--2-3, DRUPAL-5--2-4
Changes since 1.4.2.33: +4 -4 lines
Diff to previous 1.4.2.33 , to branch point 1.4
#299594 Alter date_api_sql to handle MYSQL versions prior to 4.1.1, got more aggressive than I needed to be, checking for the version is sufficient, don't need to check for mysqli.

Revision 1.9.2.3.2.23 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 2 19:53:00 2008 UTC (14 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.22: +4 -4 lines
Diff to previous 1.9.2.3.2.22 , to branch point 1.9.2.3
#299594 Alter date_api_sql to handle MYSQL versions prior to 4.1.1, got more aggressive than I needed to be, checking for the version is sufficient, don't need to check for mysqli.

Revision 1.9.2.3.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 21:34:12 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.21: +4 -1 lines
Diff to previous 1.9.2.3.2.21 , to branch point 1.9.2.3
#299594 Alter date_api_sql to handle MYSQL versions prior to 4.1.1.

Revision 1.4.2.33 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 21:33:45 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.32: +4 -1 lines
Diff to previous 1.4.2.32 , to branch point 1.4
#299594 Alter date_api_sql to handle MYSQL versions prior to 4.1.1.

Revision 1.9.2.3.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 14:19:56 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.20: +17 -2 lines
Diff to previous 1.9.2.3.2.20 , to branch point 1.9.2.3
#294185 Add function for cross-database test of non_null values using COALESCE.

Revision 1.4.2.32 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 14:18:30 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.31: +17 -2 lines
Diff to previous 1.4.2.31 , to branch point 1.4
#294185 Add test for non-NULL values when concating the from/to date values, using COALESCE.

Revision 1.4.2.31 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 13:19:27 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.30: +2 -2 lines
Diff to previous 1.4.2.30 , to branch point 1.4
#300319 Move apostrophe in PostgreSQL offset code, patch by fumanchu182.

Revision 1.9.2.3.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 13:19:10 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.19: +2 -2 lines
Diff to previous 1.9.2.3.2.19 , to branch point 1.9.2.3
#300319 Move apostrophe in PostgreSQL offset code, patch by fumanchu182.

Revision 1.4.2.30 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 13:12:18 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.29: +16 -6 lines
Diff to previous 1.4.2.29 , to branch point 1.4
#299594 Alter date_api_sql to handle MYSQL versions prior to 4.1.1.

Revision 1.9.2.3.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 29 13:11:57 2008 UTC (14 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.18: +15 -6 lines
Diff to previous 1.9.2.3.2.18 , to branch point 1.9.2.3
#299594 Alter date_api_sql to handle MYSQL versions prior to 4.1.1.

Revision 1.9.2.3.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 17 12:12:08 2008 UTC (15 months, 1 week ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-RC2
Changes since 1.9.2.3.2.17: +3 -3 lines
Diff to previous 1.9.2.3.2.17 , to branch point 1.9.2.3
#296051 Fix error in computation of last day of calendar month.

Revision 1.4.2.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 17 12:11:48 2008 UTC (15 months, 1 week ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-RC7
Changes since 1.4.2.28: +2 -2 lines
Diff to previous 1.4.2.28 , to branch point 1.4
#296051 Fix error in computation of last day of calendar month, thanks to HnLn for debugging this!

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 13 18:35:35 2008 UTC (15 months, 2 weeks ago) by karens
Branch: MAIN
Changes since 1.10: +62 -20 lines
Diff to previous 1.10
Synch HEAD with D6.

Revision 1.4.2.28 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 21:14:26 2008 UTC (15 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-RC5, DRUPAL-5--2-0-RC6
Changes since 1.4.2.27: +5 -1 lines
Diff to previous 1.4.2.27 , to branch point 1.4
#291683 Make sure that date range arguments will create the proper queries, titles, and links, patch partly by will_in_wi.

Revision 1.4.2.27 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 30 16:00:43 2008 UTC (15 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.26: +2 -2 lines
Diff to previous 1.4.2.26 , to branch point 1.4
Make sure we don't use mktime() in compare_date() function, won't work reliably in PHP4.

Revision 1.9.2.3.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 30 16:00:04 2008 UTC (15 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA4, DRUPAL-6--2-0-RC1
Changes since 1.9.2.3.2.16: +2 -2 lines
Diff to previous 1.9.2.3.2.16 , to branch point 1.9.2.3
Make sure we don't use mktime() in compare_date() function, won't work reliably in PHP4.

Revision 1.4.2.26 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 29 12:25:59 2008 UTC (15 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-RC4
Changes since 1.4.2.25: +3 -2 lines
Diff to previous 1.4.2.25 , to branch point 1.4
#286454 Add fix for Views substitutions error handling %%s to work like the fix for %%d.

Revision 1.9.2.3.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 26 11:46:15 2008 UTC (16 months ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.15: +3 -3 lines
Diff to previous 1.9.2.3.2.15 , to branch point 1.9.2.3
#287325 Change the default date type in the date handler to DATE_DATETIME, patch by chadmiller.

Revision 1.4.2.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 26 11:46:01 2008 UTC (16 months ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.24: +3 -3 lines
Diff to previous 1.4.2.24 , to branch point 1.4
#287325 Change the default date type in the date handler to DATE_DATETIME, patch by chadmiller.

Revision 1.4.2.24 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 22 11:20:46 2008 UTC (16 months ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.23: +9 -2 lines
Diff to previous 1.4.2.23 , to branch point 1.4
Check for invalid inputs to the date handler argument handling.

Revision 1.9.2.3.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 22 11:20:31 2008 UTC (16 months ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.14: +9 -2 lines
Diff to previous 1.9.2.3.2.14 , to branch point 1.9.2.3
Check for invalid inputs to the date handler argument handling.

Revision 1.4.2.23 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 15 14:13:25 2008 UTC (16 months, 1 week ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.22: +7 -7 lines
Diff to previous 1.4.2.22 , to branch point 1.4
Fix typos in previous patch, plus make sure date_make_date knows this is an ISO input.

Revision 1.9.2.3.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 15 14:12:19 2008 UTC (16 months, 1 week ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.13: +7 -7 lines
Diff to previous 1.9.2.3.2.13 , to branch point 1.9.2.3
Fix typos in previous patch, plus make sure date_make_date knows this is an ISO input.

Revision 1.4.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 15 13:56:20 2008 UTC (16 months, 1 week ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.21: +8 -6 lines
Diff to previous 1.4.2.21 , to branch point 1.4
Make sure partial dates, like year-only, get the right range computed for them.

Revision 1.9.2.3.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 15 13:56:06 2008 UTC (16 months, 1 week ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.12: +8 -7 lines
Diff to previous 1.9.2.3.2.12 , to branch point 1.9.2.3
Make sure partial dates, like year-only, get the right range computed for them.

Revision 1.4.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 13 10:27:04 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-RC3
Changes since 1.4.2.20: +4 -1 lines
Diff to previous 1.4.2.20 , to branch point 1.4
#277420 Another fix to make sure official release of Views does not wipe out %%d.

Revision 1.4.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 10 07:52:34 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-RC2
Changes since 1.4.2.19: +2 -2 lines
Diff to previous 1.4.2.19 , to branch point 1.4
#280041 Fix typo in postgres switch code in date_api_sql.inc, patch by heyrocker.

Revision 1.9.2.3.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 10 07:52:20 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.11: +2 -2 lines
Diff to previous 1.9.2.3.2.11 , to branch point 1.9.2.3
#280041 Fix typo in postgres switch code in date_api_sql.inc, patch by heyrocker.

Revision 1.4.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 9 18:54:38 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.18: +2 -2 lines
Diff to previous 1.4.2.18 , to branch point 1.4
More fixes to the PHP 4 timezone handling. Previous commits to fix other problems created new ones, so it's very complicated to get it working right.

Revision 1.9.2.3.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 9 11:23:30 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.10: +14 -4 lines
Diff to previous 1.9.2.3.2.10 , to branch point 1.9.2.3
#277420 Add missing format information for minutes and seconds to date_sql_handler, patch partly by dugh.

Revision 1.4.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 9 11:23:17 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.17: +20 -4 lines
Diff to previous 1.4.2.17 , to branch point 1.4
#277420 Add missing format information for minutes and seconds to date_sql_handler, patch partly by dugh.

Revision 1.9.2.3.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 9 00:02:48 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.9: +3 -3 lines
Diff to previous 1.9.2.3.2.9 , to branch point 1.9.2.3
#270316 Fix postgres timezone adjustment, patch by vonster and heyrocker.

Revision 1.4.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 9 00:02:35 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.16: +3 -3 lines
Diff to previous 1.4.2.16 , to branch point 1.4
#270316 Fix postgres timezone adjustment, patch by vonster and heyrocker.

Revision 1.4.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 8 02:17:31 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.15: +2 -2 lines
Diff to previous 1.4.2.15 , to branch point 1.4
#279051 Fix postgres timezone test, patch by jmpoure and heyrocker.

Revision 1.9.2.3.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 8 02:17:12 2008 UTC (16 months, 2 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.8: +2 -2 lines
Diff to previous 1.9.2.3.2.8 , to branch point 1.9.2.3
#279051 Fix postgres timezone test, patch by jmpoure and heyrocker.

Revision 1.9.2.3.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 7 15:09:08 2008 UTC (16 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.7: +26 -2 lines
Diff to previous 1.9.2.3.2.7 , to branch point 1.9.2.3
Add week handling and granularity tests to date_sql_handler().

Revision 1.4.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 7 15:08:30 2008 UTC (16 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.14: +26 -3 lines
Diff to previous 1.4.2.14 , to branch point 1.4
Add week handling and granularity tests to date_sql_handler().

Revision 1.9.2.3.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 30 21:33:07 2008 UTC (16 months, 4 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.6: +2 -2 lines
Diff to previous 1.9.2.3.2.6 , to branch point 1.9.2.3
Add code to adjust NOW() by a number of seconds to allow NOW() to be the beginning of the day.

Revision 1.4.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 30 21:25:58 2008 UTC (16 months, 4 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.13: +2 -2 lines
Diff to previous 1.4.2.13 , to branch point 1.4
Rework Views filters, especially the 'now' and '+1' filters.

#251994 Add code to adjust NOW() by a number of seconds to allow NOW() to be the beginning of the day.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 20 13:36:13 2008 UTC (17 months, 1 week ago) by karens
Branch: MAIN
Changes since 1.9: +687 -221 lines
Diff to previous 1.9
Synch HEAD with the 6.2 version.

Revision 1.4.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 15:51:50 2008 UTC (17 months, 1 week ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.12: +25 -434 lines
Diff to previous 1.4.2.12 , to branch point 1.4
More work to backport the improved sql handler (with better timezone handling) from the D6 version.

Revision 1.9.2.3.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 13 16:54:42 2008 UTC (17 months, 2 weeks ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA3
Changes since 1.9.2.3.2.5: +13 -3 lines
Diff to previous 1.9.2.3.2.5 , to branch point 1.9.2.3
#269569 Get new generic date filter working again. Still needs more work, but generally functional.

Revision 1.9.2.3.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 11 11:15:52 2008 UTC (17 months, 2 weeks ago) by karens
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA2
Changes since 1.9.2.3.2.4: +7 -1 lines
Diff to previous 1.9.2.3.2.4 , to branch point 1.9.2.3
Fix computation of week range computed from views arguments.

Revision 1.9.2.3.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 6 16:12:17 2008 UTC (17 months, 3 weeks ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.3: +2 -2 lines
Diff to previous 1.9.2.3.2.3 , to branch point 1.9.2.3
Now that a current date argument has been added to Views, remove the current date plugin from the Date API views handling.

Revision 1.9.2.3.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 28 10:10:40 2008 UTC (18 months ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.2: +2 -2 lines
Diff to previous 1.9.2.3.2.2 , to branch point 1.9.2.3
Try again to get the right files into the 6.2 branch.

Revision 1.4.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 16:47:42 2008 UTC (18 months ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.11: +283 -4 lines
Diff to previous 1.4.2.11 , to branch point 1.4
#263078 Fix error in setting up db session info that was triggering the MYSQL code for POSTGRES.

Revision 1.9.2.3.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 16:47:29 2008 UTC (18 months ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3.2.1: +2 -2 lines
Diff to previous 1.9.2.3.2.1 , to branch point 1.9.2.3
#263078 Fix error in setting up db session info that was triggering the MYSQL code for POSTGRES.

Revision 1.9.2.3.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 16:42:33 2008 UTC (18 months ago) by karens
Branch: DRUPAL-6--2
Changes since 1.9.2.3: +281 -2 lines
Diff to previous 1.9.2.3
Get the 6.2 branch updated, I made the last commit to 6.1 by mistake.

Revision 1.9.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 14:11:56 2008 UTC (18 months ago) by karens
Branch: DRUPAL-6--1
Changes since 1.9.2.3: +281 -2 lines
Diff to previous 1.9.2.3 , to branch point 1.9 , to next main 1.16
Starting process of moving lots of similar date handling and navigation code out of Date and Calendar and into the Date API where we can use the same code everywhere. Adding a flexible date argument to the API that will work on any Views date field and take any ISO date argument. Adding an argument default option to set a missing date argument to the current date that will work on any date field. Adding a date back/next navigation attachment that works with the date argument and which can be attached to any view. Next step will be to go in and adapt the Calendar module to share this code instead of creating its own.

Revision 1.4.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 25 10:15:45 2008 UTC (18 months ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.10: +5 -2 lines
Diff to previous 1.4.2.10 , to branch point 1.4
#262263 Fix duplicate class name in latest commit.

Revision 1.4.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 24 10:09:13 2008 UTC (18 months ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.9: +402 -1 lines
Diff to previous 1.4.2.9 , to branch point 1.4
Backport the sql handler from the D6 version. Still need to incorporate the new code into date_views.

Revision 1.9.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 23 18:14:00 2008 UTC (18 months ago) by karens
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--2-0-BETA
Branch point for: DRUPAL-6--2
Changes since 1.9.2.2: +2 -2 lines
Diff to previous 1.9.2.2 , to branch point 1.9
Change to sql handling from latest updates to the Calendar module.

Revision 1.9.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 17 11:22:59 2008 UTC (18 months, 1 week ago) by karens
Branch: DRUPAL-6--1
Changes since 1.9.2.1: +7 -7 lines
Diff to previous 1.9.2.1 , to branch point 1.9
More updates related to getting the Views 2 Calendar working.

Revision 1.4.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 11 22:03:19 2008 UTC (18 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.8: +10 -2 lines
Diff to previous 1.4.2.8 , to branch point 1.4
#257059 and #248935, committing a work-around for a Views error that has been fixed but is not in an official release yet.

Revision 1.4.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 11 06:54:59 2008 UTC (18 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.7: +111 -63 lines
Diff to previous 1.4.2.7 , to branch point 1.4
Working in a new sql handler class so we can use the same class in both.

Revision 1.9.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 11 06:53:34 2008 UTC (18 months, 2 weeks ago) by karens
Branch: DRUPAL-6--1
Changes since 1.9: +394 -223 lines
Diff to previous 1.9
Working in the new sql handler class from the D5 version so we can use the same class in both.

Revision 1.4.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 9 17:23:23 2008 UTC (18 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.6: +346 -276 lines
Diff to previous 1.4.2.6 , to branch point 1.4
#247752 Rework the SQL code used for Views filters and arguments and update Date and Calendar views to use the new code.

Revision 1.4.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 7 14:01:56 2008 UTC (18 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.5: +2 -2 lines
Diff to previous 1.4.2.5 , to branch point 1.4
#248935 Double escaping no longer needed with latest Views dev version, so remove it.

Revision 1.4.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 18 20:48:13 2008 UTC (19 months, 1 week ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.4: +110 -57 lines
Diff to previous 1.4.2.4 , to branch point 1.4
Starting some improvements to Views handling, including new sql function to allow formatting dates in sql.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 17 12:44:16 2008 UTC (19 months, 1 week ago) by karens
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA
Branch point for: DRUPAL-6--1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
#234360 fix date_server_zone_adj() function, patch by jscheel.

Revision 1.4.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 17 12:44:03 2008 UTC (19 months, 1 week ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.3: +2 -2 lines
Diff to previous 1.4.2.3 , to branch point 1.4
#234360 fix date_server_zone_adj() function, patch by jscheel.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 17 14:01:39 2008 UTC (21 months, 1 week ago) by karens
Branch: MAIN
Changes since 1.7: +0 -0 lines
Diff to previous 1.7
Simplify the API by assuming all date element values are handled in DATETIME format. The CCK Date module handles conversion of ISO and UNIX values to and from DATETIME values. This simplification of the core API should make it easier to get into core and makes the element handling easier to follow, plus I assume the first thing we'll do when a date API is in core is convert core timestamp fields to true DATETIME fields, so this would be the natural default.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 15 13:23:53 2008 UTC (21 months, 1 week ago) by karens
Branch: MAIN
Changes since 1.6: +115 -72 lines
Diff to previous 1.6
Remove database timezone handling by rolling back to previous version that used offsets instead. Based on problems noted in #218479 and #220663, we cannot count on database timezone handling to be available in MYSQL or work consistently with the timezone names that PHP uses in POSTGRES, so trying to do timezone conversions in the database is not going to work.

Synch with D5.2 version.

Revision 1.4.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 15 13:01:19 2008 UTC (21 months, 1 week ago) by karens
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-0-RC
Changes since 1.4.2.2: +115 -72 lines
Diff to previous 1.4.2.2 , to branch point 1.4
Remove database timezone handling by rolling back to previous version that used offsets instead. Based on problems noted in #218479 and #220663, we cannot count on database timezone handling to be available in MYSQL or work consistently with the timezone names that PHP uses in POSTGRES, so trying to do timezone conversions in the database is not going to work.

More commits are coming to re-apply patches made after this change.

Revision 1.4.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 9 12:24:39 2008 UTC (21 months, 2 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4.2.1: +2 -8 lines
Diff to previous 1.4.2.1 , to branch point 1.4
#218479 Loosen the test for database timezone support.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 8 20:12:55 2008 UTC (21 months, 2 weeks ago) by karens
Branch: MAIN
Changes since 1.5: +2 -8 lines
Diff to previous 1.5
#218479 Loosen the test for database timezone support.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 3 17:40:16 2008 UTC (21 months, 3 weeks ago) by karens
Branch: MAIN
Changes since 1.4: +72 -109 lines
Diff to previous 1.4
Getting rid of offsets!! Alter query code to cast ISO and UNIX dates to native datetimes and do timezone conversion in the database. Much faster and more accurate.

This will mean this version of the code will not work for databases that are not able to do native timezone conversion, but even inexpensive shared hosts will probably have the MYSQL database timezone tables installed, and PostgreSQL has good timezone handling enabled by default.

The MYSQL timezone conversion code should be accurate, the PostgreSQL code looks right from the documentation but needs to be verified.

The offset fields can now be dropped from the Date fields since we only need the timezone name to do the conversion.

I probably missed some places that need to be adjusted for this change, but this should get most of the necessary fixes in place.

Revision 1.4.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 3 17:39:58 2008 UTC (21 months, 3 weeks ago) by karens
Branch: DRUPAL-5--2
Changes since 1.4: +72 -109 lines
Diff to previous 1.4
Getting rid of offsets!! Alter query code to cast ISO and UNIX dates to native datetimes and do timezone conversion in the database. Much faster and more accurate.

This will mean this version of the code will not work for databases that are not able to do native timezone conversion, but even inexpensive shared hosts will probably have the MYSQL database timezone tables installed, and PostgreSQL has good timezone handling enabled by default.

The MYSQL timezone conversion code should be accurate, the PostgreSQL code looks right from the documentation but needs to be verified.

The offset fields can now be dropped from the Date fields since we only need the timezone name to do the conversion.

I probably missed some places that need to be adjusted for this change, but this should get most of the necessary fixes in place.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 23 13:08:30 2008 UTC (22 months ago) by karens
Branch: MAIN
Branch point for: DRUPAL-5--2
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
Clean up date browser and date views code.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 17 22:53:00 2007 UTC (23 months, 1 week ago) by karens
Branch: MAIN
Changes since 1.2: +76 -3 lines
Diff to previous 1.2
Build in ability to do native db timezone adjustments in queries, won't work until we have a native datetime field in the database.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 3 16:27:17 2007 UTC (23 months, 3 weeks ago) by karens
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1
Misc small documentation fixes.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 28 21:51:29 2007 UTC (2 years, 4 months ago) by karens
Branch: MAIN
Very preliminary rewrite of Date API to become version 5.2. Not ready to be used yet! Still coming is rewrite of date and calendar module to use new API.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2