Re: Re[2]: [PHP-GTK-DEV] Overrides for GtkUIManager and GtkCalendar

From: Date: Mon, 19 Dec 2005 18:40:36 +0000
Subject: Re: Re[2]: [PHP-GTK-DEV] Overrides for GtkUIManager and GtkCalendar
References: 1 2 3 4  Groups: php.gtk.dev php.gtk.general 
Request: Send a blank email to php-gtk-dev+get-2138@lists.php.net to get a copy of this message
How hard is it to put that string together from existing info? -Andrei On Dec 18, 2005, at 9:47 PM, Steph Fox wrote:
Here is the test code I used. Returning a full date is more useful I think in most cases and as the function return is different to the Gtk call anyway it seemed a very simple addition. It replaces: $date = $calendar->get_date(); $selected_date = $date[0].'-'.($date[1]+1).'-'.$date[3]; //messy :)
Yep, I know. I'm just not sure about how far to meddle here. Could do with more feedback... Oh hear ye, PHP-GTK users and Andrei! Tom wants to make GtkCalendar::get_date() return something that can be used with PHP's strtotime() function, e.g.'2005-12-10'. This to be the fourth element in what is currently a three-element array. Good idea? Bad idea? Speak now or forever hold your peace! - Steph -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#2138) next »