mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-25 09:05:48 +00:00
fix readme example output, closes #66
This commit is contained in:
parent
d6f6e74351
commit
a133ab1a4e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue