mirror of
https://github.com/samsonjs/strftime.git
synced 2026-04-27 14:57:37 +00:00
code style
This commit is contained in:
parent
f1581a3c9d
commit
6ab81c89cb
1 changed files with 13 additions and 11 deletions
|
|
@ -112,7 +112,8 @@
|
|||
}
|
||||
}
|
||||
date = _cachedDate;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
timestamp = date.getTime();
|
||||
|
||||
if (_useUtcBasedDate) {
|
||||
|
|
@ -442,7 +443,8 @@
|
|||
|
||||
customTimezoneOffset = sign * ((60 * hours) + minutes) * 60 * 1000;
|
||||
// in minutes: 420
|
||||
} else if (timezoneType === 'number'){
|
||||
}
|
||||
else if (timezoneType === 'number') {
|
||||
customTimezoneOffset = timezone * 60 * 1000;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue