/[drupal]/contributions/modules/station/dayhour.inc
ViewVC logotype

Log of /contributions/modules/station/dayhour.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.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 20 21:06:09 2009 UTC (2 months ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-BETA1, DRUPAL-6--2-0-UNSTABLE5, HEAD
Changes since 1.20: +21 -3 lines
Diff to previous 1.20
Added station_minute_from_local_ts() to make it easy to query for the current time.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 29 08:01:41 2009 UTC (2 months, 3 weeks ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-UNSTABLE4
Changes since 1.19: +5 -5 lines
Diff to previous 1.19
#562942 by tim.plunkett: Follow Drupal Coding Standards (and make coder.module happy).

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 10 05:07:12 2009 UTC (5 months, 2 weeks ago) by drewish
Branch: MAIN
Changes since 1.18: +19 -1 lines
Diff to previous 1.18
#487156 by drewish: Add a day/hour formatting option to the schedule item start time.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 1 17:14:06 2008 UTC (11 months, 3 weeks ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-UNSTABLE1, DRUPAL-6--2-0-UNSTABLE2, DRUPAL-6--2-0-UNSTABLE3
Changes since 1.17: +20 -6 lines
Diff to previous 1.17
Missed some theme functions in hook_theme(). Adding a theme function for time durations.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 25 21:08:58 2007 UTC (23 months, 4 weeks ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-5--2-0, DRUPAL-5--2-0-alpha1, DRUPAL-5--2-1-BETA1
Branch point for: DRUPAL-5--2
Changes since 1.16: +2 -1 lines
Diff to previous 1.16
Revisiting #141101 to fix the schedule listing on the program nodes.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 9 07:40:48 2007 UTC (2 years ago) by drewish
Branch: MAIN
Changes since 1.15: +34 -36 lines
Diff to previous 1.15
#185817 Option for 12 or 24-hour time format.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 22 21:38:11 2007 UTC (2 years, 1 month ago) by drewish
Branch: MAIN
Changes since 1.14: +11 -4 lines
Diff to previous 1.14
#141101 (joachim) Start the week the same as the rest of Drupal.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 10 17:13:15 2007 UTC (2 years, 3 months ago) by drewish
Branch: MAIN
Changes since 1.13: +64 -37 lines
Diff to previous 1.13
Re-opening HEAD for a DRUPAL-5--2 branch.

Schedules are now nodes. You can create multiple schedules by creating a new
node for each. Schedule viewing is now under node/*/view. There's an option
to redirect old URLs to a "default" schedule.

Revision 1.11.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 9 23:18:49 2007 UTC (2 years, 3 months ago) by drewish
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-2, DRUPAL-5--1-3, DRUPAL-5--1-4, DRUPAL-5--1-5
Changes since 1.11.2.2: +3 -3 lines
Diff to previous 1.11.2.2 , to branch point 1.11 , to next main 1.21
Small fixes.

Revision 1.11.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 6 04:19:35 2007 UTC (2 years, 3 months ago) by drewish
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-1
Changes since 1.11.2.1: +62 -35 lines
Diff to previous 1.11.2.1 , to branch point 1.11
Improved PHPDoc comments.

Revision 1.13
Wed Apr 25 15:18:41 2007 UTC (2 years, 7 months ago) by drewish
Branch: MAIN
Changes since 1.12: +1 -1 lines
FILE REMOVED
Removing files from HEAD, doing all my development on the DRUPAL-5 branch. I'll re-open HEAD when it's time to branch for DRUPAL-6.

Revision 1.11.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 26 16:30:59 2007 UTC (2 years, 8 months ago) by drewish
Branch: DRUPAL-5
Changes since 1.11: +9 -6 lines
Diff to previous 1.11
Backporting some fixes from HEAD
- Use the DJ label on default views
- Quote archive table names with {}
- Add MINUTES_IN_DAY in a constant

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 6 23:49:18 2007 UTC (2 years, 8 months ago) by drewish
Branch: MAIN
Changes since 1.11: +9 -6 lines
Diff to previous 1.11
- Added a MINUTES_IN_DAY constant to try to remove some magic numbers.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 9 22:52:04 2007 UTC (2 years, 9 months ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-5--0-3, DRUPAL-5--1-0
Branch point for: DRUPAL-5
Changes since 1.10: +15 -4 lines
Diff to previous 1.10
- Improved/corrected. comments.

Revision 1.6.4.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 5 23:26:35 2007 UTC (2 years, 10 months ago) by drewish
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7--1-0
Changes since 1.6.4.2: +26 -23 lines
Diff to previous 1.6.4.2 , to branch point 1.6 , to next main 1.21
- Backported a bunch of fixes from HEAD.

Revision 1.6.4.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 25 03:02:58 2006 UTC (2 years, 11 months ago) by drewish
Branch: DRUPAL-4-7
Changes since 1.6.4.1: +13 -10 lines
Diff to previous 1.6.4.1 , to branch point 1.6
- Fixed a bug translating in station_day_name().

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 25 03:00:03 2006 UTC (2 years, 11 months ago) by drewish
Branch: MAIN
CVS Tags: DRUPAL-5--0-1, DRUPAL-5--0-2
Changes since 1.9: +13 -10 lines
Diff to previous 1.9
- Fixed a bug translating in station_day_name().
- Fixed broken link to add a program to the schedule.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 23 05:56:01 2006 UTC (2 years, 11 months ago) by drewish
Branch: MAIN
Changes since 1.8: +18 -13 lines
Diff to previous 1.8
- Making the days of the week translatable per #104734
- Fixed some coding standard violations.

Revision 1.6.4.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 23 05:54:07 2006 UTC (2 years, 11 months ago) by drewish
Branch: DRUPAL-4-7
Changes since 1.6: +8 -8 lines
Diff to previous 1.6
- Making the days of the week translatable per #104734

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 21 18:10:35 2006 UTC (3 years ago) by drewish
Branch: MAIN
Changes since 1.7: +12 -12 lines
Diff to previous 1.7
Major overhaul for Drupal 5.0:
- Schedule has been broken up into two sub-modules: station_playlist and station_program.
- program_playlist node type is now station_playlist.
- Bumped all the DB schema numbers to 100 to all room for updates in the 4.7 branch.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 13 01:00:58 2006 UTC (3 years ago) by drewish
Branch: MAIN
Changes since 1.6: +16 -26 lines
Diff to previous 1.6
- Fixed a bug where Sunday day hour ranges didn't include the day.
- Removed station_hour_from_minute(), it's not being used anywhere.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 27 22:59:16 2006 UTC (3 years ago) by drewish
Branch: MAIN
Branch point for: DRUPAL-4-7
Changes since 1.5: +47 -60 lines
Diff to previous 1.5
- Added a setting to configure the schedule time increment.
- Added station_time_from_minute() to do most of the time formatting and handle
 the fraction of an hour times.
- Deleted _station_make_hour_compatible().
- Changed station_schedule_schedule_load_day() to return only the portion of
 the schedule that occures that day. Multi-day shows will be returned on each day
 with the start and end times adjusted to stay with-in the day.
- Changed station_schedule_schedule_admin_form() to allow scheduling of
 fractional hours.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 26 19:37:07 2006 UTC (3 years ago) by drewish
Branch: MAIN
Changes since 1.4: +34 -12 lines
Diff to previous 1.4
- Trying to improve (and shorten) the CSS ids and classes on the code.
- Added station_day_from_minute() station_hour_from_minute() to centralize the conversions.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 24 23:30:04 2006 UTC (3 years, 1 month ago) by drewish
Branch: MAIN
Changes since 1.3: +103 -1 lines
Diff to previous 1.3
- Merging all the changes up from the 4.7 branch. I'm going to try to start
doing all the dev work up here and then moving the branch up.

Revision 1.3.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 16 17:34:23 2006 UTC (3 years, 1 month ago) by drewish
Changes since 1.3.2.3: +5 -1 lines
Diff to previous 1.3.2.3 , to branch point 1.3 , to next main 1.21
- Had some bugs converting day/hour tuples into minutes. Added the station_minute_from_day_hour() to centeralize the math and get it right in one place.

Revision 1.3.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 16 01:47:03 2006 UTC (3 years, 1 month ago) by drewish
Changes since 1.3.2.2: +84 -14 lines
Diff to previous 1.3.2.2 , to branch point 1.3
- Finished #86140, the schedule is now stored as starting and ending at a number of minutes since Sunday midnight, rather than hour blocks.

Revision 1.3.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 11 23:38:16 2006 UTC (3 years, 2 months ago) by drewish
Changes since 1.3.2.1: +15 -14 lines
Diff to previous 1.3.2.1 , to branch point 1.3
- Fixed a bug with midnight ranges.

Revision 1.3.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 11 22:21:26 2006 UTC (3 years, 2 months ago) by drewish
Changes since 1.3: +28 -1 lines
Diff to previous 1.3
- Collapsing multiple hours together on the schedule and on the program page. Hours are displayed in ranges now.
- Archive links are now always use the hours URL format.
- Lots of clean up to follow Drupal coding standards.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 17 03:42:48 2006 UTC (3 years, 10 months ago) by drewish
Branch: MAIN
Changes since 1.2: +6 -5 lines
Diff to previous 1.2
* IMPORTANT: I changed day offset from sunday=1 to sunday=0, you'll need to upgrade your databsae by running "UPDATE station_schedule s SET s.day = s.day-1;"
* Made sure every file has a CVS id.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 7 01:04:48 2006 UTC (3 years, 10 months ago) by drewish
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1
* Renamed the day hour functions to remove the _ making them public-ish.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 7 21:28:49 2005 UTC (3 years, 11 months ago) by drewish
Branch: MAIN
* Importing the first public version

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