From a133ab1a4e6b64b8ec1e6bc4cdff7ecabcd3fb59 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 30 Aug 2015 16:44:18 -0700 Subject: [PATCH] fix readme example output, closes #66 --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 0c07a06..3a87254 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('%F %T', new Date(1307472705067))) // => June 07, 11 11:51:45 + console.log(strftimePDT('%F %T', new Date(1307472705067))) // => 2011-06-07 11:51:45 console.log(strftimeCEST('%F %T', new Date(1307472705067))) // => 2011-06-07 20:51:45 ```