(keepLocalTime)
| 3206 | } |
| 3207 | |
| 3208 | function setOffsetToLocal (keepLocalTime) { |
| 3209 | if (this._isUTC) { |
| 3210 | this.utcOffset(0, keepLocalTime); |
| 3211 | this._isUTC = false; |
| 3212 | |
| 3213 | if (keepLocalTime) { |
| 3214 | this.subtract(getDateOffset(this), 'm'); |
| 3215 | } |
| 3216 | } |
| 3217 | return this; |
| 3218 | } |
| 3219 | |
| 3220 | function setOffsetToParsedOffset () { |
| 3221 | if (this._tzm) { |
nothing calls this directly
no test coverage detected