mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-25 09:05:48 +00:00
Optimize for V8
This commit is contained in:
parent
b163521428
commit
4090402e2b
1 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@
|
|||
_date = dateToUTC(_date);
|
||||
}
|
||||
|
||||
/*if (_timeZone) {
|
||||
if (_timeZone) {
|
||||
// ISO 8601 format timezone string, [-+]HHMM
|
||||
// Convert to the number of minutes and it'll be applied to the date below.
|
||||
if (tzType === 'string') {
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
}
|
||||
|
||||
_date = new Date(_date.getTime() + (_timeZone * 60000));
|
||||
}*/
|
||||
}
|
||||
|
||||
// Most of the specifiers supported by C's strftime, and some from Ruby.
|
||||
// Some other syntax extensions from Ruby are supported: %-, %_, and %0
|
||||
|
|
|
|||
Loading…
Reference in a new issue