From d6f6e7435155baa5854686a9383d3cd0ba1706b1 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Thu, 11 Jun 2015 09:53:06 -0700 Subject: [PATCH] fix example code --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index a6edf00..0c07a06 100644 --- a/Readme.md +++ b/Readme.md @@ -86,7 +86,7 @@ Alternatively you can use the timezone format used by ISO 8601, `+HHMM` or `-HHM var strftime = require('strftime') // not required in browsers var strftimePDT = strftime.timezone('-0700') var strftimeCEST = strftime.timezone('+0200') - console.log(strftimePDT('', new Date(1307472705067))) // => June 07, 11 11:51:45 + console.log(strftimePDT('%F %T', new Date(1307472705067))) // => June 07, 11 11:51:45 console.log(strftimeCEST('%F %T', new Date(1307472705067))) // => 2011-06-07 20:51:45 ```