(keepLocalTime)
| 3360 | } |
| 3361 | |
| 3362 | function setOffsetToLocal(keepLocalTime) { |
| 3363 | if (this._isUTC) { |
| 3364 | this.utcOffset(0, keepLocalTime); |
| 3365 | this._isUTC = false; |
| 3366 | |
| 3367 | if (keepLocalTime) { |
| 3368 | this.subtract(getDateOffset(this), 'm'); |
| 3369 | } |
| 3370 | } |
| 3371 | return this; |
| 3372 | } |
| 3373 | |
| 3374 | function setOffsetToParsedOffset() { |
| 3375 | if (this._tzm != null) { |
nothing calls this directly
no test coverage detected