mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-25 09:05:48 +00:00
fix Readme error
This commit is contained in:
parent
1633e4007c
commit
303667d059
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ Time zones can be passed in as an offset from GMT in minutes.
|
|||
|
||||
var strftimeTZ = require('strftime').strftimeTZ
|
||||
console.log(strftimeTZ('%B %d, %y %H:%M:%S', new Date(1307472705067), -420)) // => June 07, 11 11:51:45
|
||||
console.log(strftimeTZ('%F %T', new Date(1307472705067), 120)) // => 2011-06-07 11:51:45
|
||||
console.log(strftimeTZ('%F %T', new Date(1307472705067), 120)) // => 2011-06-07 20:51:45
|
||||
|
||||
|
||||
Supported Specifiers
|
||||
|
|
|
|||
Loading…
Reference in a new issue