Can I get a date please?
*Excerpt
A quick run down on Javascript dates, how they work across browsers and how to localise them with YUI.
Description
Are you a Javascript programmer who’s tried to get a date and didn’t know how? Do you feel jealous of those fancy schmancy C, PHP and Perl developers able to get a date in a snap, and an international one at that with their strftime functions and OS locale support?
Javascript dates are powerful objects, with methods to get at every part of your date, but no easy way to get the complete date experience you crave. Should you add 1 to the return value of getMonth() or should you use it as an array subscript? And why does getYear() not work consistently?
In this talk, we’ll go over some of the quirks with Javascript dates, and talk about how the YUI library brings the full power of strftime and locales to Javascript.
Tags
javascript, dates, yui
Speaker
-
Philip Tellis
Yahoo!- Website: http://bluesmoon.info/
- Blog: http://tech.bluesmoon.info/
- Twitter: bluesmoon
Biography
Philip Tellis is a geek who likes to make the computer do his work for him. As part of his job with the Exceptional Performance team at Yahoo! he analyses the impact of various design decisions on web application performance. He also maintains the javascript implementation of strftime used in YUI and plays around with security, accessibility and i18n. He is also the maintainer of several opensource projects including ayttm and libyahoo2.
In his spare time, Philip enjoys cycling, reading, cooking and learning spoken languages.
Philip has spoken at several conferences in the past, including FOSS.IN, FREED.IN, Ubuntulive, Linux Symposium, PHP Quebec, Opensource Bridge, WebDU, FOSDEM and ConFoo.
Sessions
-
- Title: Programming patterns in sed
- Track: Hacks
- Room: Broadway
- Time: 3:50 – 4:35pm
-
Excerpt:
Learn to turn line noise into clean and structured, albeit unreadable, sed programs.
- Speakers: Philip Tellis