cvs: presentations / php6-unicode-froscon.xml /slides/time sun-up-down.xml
| From: | Derick Rethans | Date: | Sun, 18 Nov 2007 10:59:46 +0000 |
| Subject: | cvs: presentations / php6-unicode-froscon.xml /slides/time sun-up-down.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1442@lists.php.net to get a copy of this message | ||
derick Sun Nov 18 10:59:46 2007 UTC
Modified files:
/presentations php6-unicode-froscon.xml
/presentations/slides/time sun-up-down.xml
Log:
- Tweaks to slides.
http://cvs.php.net/viewvc.cgi/presentations/php6-unicode-froscon.xml?r1=1.1&r2=1.2&diff_format=u
Index: presentations/php6-unicode-froscon.xml
diff -u presentations/php6-unicode-froscon.xml:1.1 presentations/php6-unicode-froscon.xml:1.2
--- presentations/php6-unicode-froscon.xml:1.1 Mon Aug 20 07:43:36 2007
+++ presentations/php6-unicode-froscon.xml Sun Nov 18 10:59:46 2007
@@ -16,7 +16,7 @@
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>
-<slide>slides/clustering/title.xml</slide>
+<slide>slides/grown-up/title.xml</slide>
<!-- UNICODE -->
<slide>slides/i18nl10n/what-languages.xml</slide> <!-- what is the problem actually?
-->
http://cvs.php.net/viewvc.cgi/presentations/slides/time/sun-up-down.xml?r1=1.5&r2=1.6&diff_format=u
Index: presentations/slides/time/sun-up-down.xml
diff -u presentations/slides/time/sun-up-down.xml:1.5 presentations/slides/time/sun-up-down.xml:1.6
--- presentations/slides/time/sun-up-down.xml:1.5 Tue Oct 30 09:59:03 2007
+++ presentations/slides/time/sun-up-down.xml Sun Nov 18 10:59:46 2007
@@ -3,7 +3,7 @@
<title>Sunset/Sunrise</title>
<example result="1"><![CDATA[<pre><font size="5"><?php
-date_default_timezone_set('America/Los_angeles');
+date_default_timezone_set('Europe/Oslo');
if (isset($_POST['country'])) {
mysql_connect('localhost', 'root'); mysql_select_db('geolocation');
$re = mysql_query( "SELECT * FROM city where
country='{$_POST['country']}' AND
normalized_name='{$_POST['city']}'" );
@@ -11,7 +11,7 @@
if ($info) {
$lat = $info['lat']; $lon = $info['lon'];
- $info = date_sun_info(time(), $lat, $lon);
+ $info = date_sun_info(strtotime("2007-12-19"), $lat, $lon);
echo "Sunrise is at ", date(DateTime::RSS, $info['sunrise']),
"\n";
echo "Sunset is at ", date(DateTime::RSS, $info['sunset']),
"\n";
echo "Day length is ",