• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Dates aghhhh!!?!?!?!
 

Dates aghhhh!!?!?!?!

on

  • 485 views

Why do people keep inventing date formats!?!

Why do people keep inventing date formats!?!

Lightning talk about how date formats turn me into rageguy.

Statistics

Views

Total Views
485
Views on SlideShare
483
Embed Views
2

Actions

Likes
0
Downloads
0
Comments
1

1 Embed 2

http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Because it has to be readable by machines AND by humans. A crap concept that drives me crazy sometimes as it often turns as 'Difficult to read for machines OR for humans'
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Dates aghhhh!!?!?!?! Dates aghhhh!!?!?!?! Presentation Transcript

  • Dates
  • DatesAGGGGHHGGHG!?!?
  • DatesAGGGGHHGGHG!?!? - A short talk about how writing regexes turns me into rageguy
  • Date formats
  • Date formats• There are so many of them!
  • Date formats•There are so many of them!• Why do people keep inventing them?
  • Date formats•There are so many of them!• Why do people keep inventing them?• I hate writing regexes
  • ISO86012012-06-28T 00:15:46Z
  • ISO8601 2012-06-28T00:15:46+00:00
  • ISO86012012-06-28T00:15:46.456 +00:00
  • /^(d{4})-(d{2})- (d{2})T(d{2}): (d{2}):(d{2})(?:(?:.|,)(d+))?((?:+|-)d d:dd)$/
  • ISO8601 is comparativelyEASY to parse.
  • ISO8601 isstandard, there are libraries.
  • HTTPMon, 20 Dec 1998 01:00:00 GMT
  • HTTP :(
  • Apache[27/Jun/2012:23:57:03 +0000]
  • Apache
  • ElasticSearch [2012-06-2602:08:26,879]
  • ElasticSearch
  • RabbitMQ26-Jun-2012::16:18:30
  • RabbitMQ
  • MongoDBThu Jun 28 01:02:29
  • MongoDB
  • SyslogJun 28 00:17:26
  • Syslog
  • .Net ‘tick’634763158360000000 100 ns from 1st Jan 1AD(Except those that are from 3rd Jan)
  • .Net ‘tick’
  • MySQL120423 12:31:04
  • MySQL
  • Please don’t make mewrite more regexes?
  • STOP INVENTING DATE FORMATS
  • Thanks!