com presentations: PHPSW Date/Time talk: slides/time/book.xml slides/time/quiz.xml time-phpsw18.xml

[email protected] (Derick Rethans) Wed, 13 Jun 2018 14:21:12 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    f03400580534c94456be8e9c5ccc84a5e69c78e8
Author:    Derick Rethans <[email protected]>         Wed, 13 Jun 2018 15:21:12 +0100
Parents:   b9c62506020df84bbde3232de2954670e71a14b1
Branches:  master

Link:       http://git.php.net/?p=presentations.git;a=commitdiff;h=f03400580534c94456be8e9c5ccc84a5e69c78e8

Log:
PHPSW Date/Time talk

Changed paths:
  M  slides/time/book.xml
  M  slides/time/quiz.xml
  A  time-phpsw18.xml


Diff:
diff --git a/slides/time/book.xml b/slides/time/book.xml
index da8e2bf..c59b1b1 100644
--- a/slides/time/book.xml
+++ b/slides/time/book.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <slide>
-
+<break lines="4"/>
 	<image align="center" filename="cover-picture.jpg" pdf-scale="0.5" y-offset="1" />
 </slide>
diff --git a/slides/time/quiz.xml b/slides/time/quiz.xml
index 3dba512..f46882d 100644
--- a/slides/time/quiz.xml
+++ b/slides/time/quiz.xml
@@ -6,11 +6,12 @@
 <div effect="fade-in-out"><blurb class="big-centre">each day has *24&#160;hours*</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">each day is *23,&#160;24&#160;or&#160;25 hours*</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">every time exists *only once* during a day</blurb></div>
-<div effect="fade-in-out"><blurb class="big-centre">Februari has *29&#160;or&#160;30* days</blurb></div>
+<div effect="fade-in-out"><blurb class="big-centre">February has *28&#160;or&#160;29* days</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">every year is *365* days</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">every year is *365&#160;or&#160;366* days</blurb></div>
+<div effect="fade-in-out"><blurb class="big-centre">everybody understands what *4/11 means*</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">everybody understands what *PI&#160;day* is</blurb></div>
-<div effect="fade-in-out"><blurb class="big-centre">everybody understands what *4/20 means*</blurb></div>
+<div effect="fade-in-out"><blurb class="big-centre">GMT is UTC</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">timezones are *whole&#160;hour* offsets from UTC</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">timezones are *half&#160;hour* offsets from UTC</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">jump *to DST* is around March</blurb></div>
@@ -24,7 +25,6 @@
 <div effect="fade-in-out"><blurb class="big-centre">PST is *Pacific&#160;Standard&#160;Time*</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">a timezone identifier is the capital of a region</blurb></div>
 <div effect="fade-in-out"><blurb class="big-centre">date calculations are easy</blurb></div>
-<div effect="fade-in-out"><blurb class="big-centre">"2018-03-31" plus month is "2018-04-31"</blurb></div>
-<div effect="fade-in-out"><blurb class="big-centre">"2018-03-31" plus month is "2018-04-30"</blurb></div>
-<div effect="fade-in-out"><blurb class="big-centre">every date calculation is reversable</blurb></div>
+<div effect="fade-in-out"><blurb class="big-centre">"2018-03-31" plus one month is "2018-04-31"</blurb></div>
+<div effect="fade-in-out"><blurb class="big-centre">"2018-03-31" plus one month is "2018-04-30"</blurb></div>
 </slide>
diff --git a/time-phpsw18.xml b/time-phpsw18.xml
new file mode 100644
index 0000000..630b15a
--- /dev/null
+++ b/time-phpsw18.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<presentation css="10gen-strict.css">
+<topic>Localization and Internationalization</topic>
+<title>Time Zones and Calendars are a PITA</title>
+<event>PHP South West</event>
+<location>Bristol, UK</location>
+<date>June 13, 2018</date>
+<speaker>Derick Rethans</speaker>
+<email>[email protected]</email>
+<url>http://derickrethans.nl/talks.html</url>
+<joindin>http://joind.in/24319</joindin>
+<twitter>derickr</twitter>
+
+<slide>slides/mongodb/title.xml</slide>
+<slide>slides/mongodb/me.xml</slide>
+
+<!-- INTRODUCTION -->
+<slide>slides/time/quiz.xml</slide>
+
+<!-- PHP - IMPROVEMENTS -->
+<slide>slides/time/improvements-timezones.xml</slide>
+<slide>slides/time/improvements-more-on-timezones.xml</slide>
+<slide>slides/time/default-timezone.xml</slide>
+<slide>slides/time/timestamps-suck.xml</slide>
+
+<!-- PHP - CODE EXAMPLES -->
+<slide>slides/time/basic-parse-time-new.xml</slide>
+<slide>slides/time/date-parse2.xml</slide>
+<slide>slides/time/date-parse-from-format3.xml</slide>
+<slide>slides/time/date-parse-from-format2.xml</slide>
+
+<!-- DATE EXAMPLES -->
+<slide>slides/time/date-modify.xml</slide>
+<slide>slides/time/date-modify-immutable1.xml</slide>
+<slide>slides/time/date-modify-immutable2.xml</slide>
+<slide>slides/time/timezone-object-1.xml</slide>
+<slide>slides/time/date-timezone.xml</slide>
+<slide>slides/time/timezone-utilities-3.xml</slide>
+
+<!-- INTERVALS and PERIODS -->
+<slide>slides/time/intervals.xml</slide>
+<slide>slides/time/intervals-2.xml</slide>
+<slide>slides/time/relative-month.xml</slide>
+<slide>slides/time/relative-month3.xml</slide>
+<slide>slides/time/period-2.xml</slide>
+
+<!-- STORING in DATABASE -->
+<!-- OLD:
+<slide>slides/time/in-database1.xml</slide>
+<slide>slides/time/in-database2.xml</slide>
+<slide>slides/time/in-database3.xml</slide>
+-->
+<slide>slides/time/in-database4.xml</slide>
+<slide>slides/time/in-mdb1.xml</slide>
+
+<!-- CALENDARS -->
+
+<!-- EXIT -->
+<slide>slides/time/book.xml</slide> <!-- resources -->
+<slide>slides/mongodb/questions.xml</slide>
+<slide>slides/mongodb/resources.xml</slide> <!-- resources -->
+</presentation>