diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-25 06:58:48 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-25 06:58:48 +0000 |
| commit | 0baa9a47967dfbd5ffee69e7451d668591527b53 (patch) | |
| tree | 37b58221d12f3d0de5395beb41caba5d030064f3 /index.php | |
| parent | 22dfcb3ce2b48fa081352a5f163b761d39ef6968 (diff) | |
| download | calendar-0baa9a47967dfbd5ffee69e7451d668591527b53.tar.gz calendar-0baa9a47967dfbd5ffee69e7451d668591527b53.tar.bz2 calendar-0baa9a47967dfbd5ffee69e7451d668591527b53.zip | |
apply offset only to focus date. this way everything should shift correctly
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.28 2005/08/25 06:41:28 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.29 2005/08/25 06:58:48 squareing Exp $ // Copyright( c ) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. @@ -43,12 +43,7 @@ if( !empty( $_REQUEST["todate"] ) ) { $_REQUEST["todate"] = $_SESSION['calendar']['focus_date']; } -$focus_date = $_REQUEST['todate']; -list( $focus_day, $focus_month, $focus_year ) = array( - adodb_date( "d", $focus_date ), - adodb_date( "m", $focus_date ), - adodb_date( "Y", $focus_date ) -); +$focus = $_REQUEST['todate']; if( !empty( $_REQUEST["view_mode"] ) ) { $_SESSION['calendar']['view_mode'] = $_REQUEST["view_mode"]; |
