]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Remove unreachable code 2377/head
authornasitra <nasitra@users.noreply.github.com>
Sat, 16 May 2015 00:57:26 +0000 (09:57 +0900)
committernasitra <nasitra@users.noreply.github.com>
Sat, 16 May 2015 00:57:26 +0000 (09:57 +0900)
src/lib/units/offset.js

index 75aeb0211b4e7520f62c37922ecd1d0710b31fc9..6c3e2e2ab022156ec455c27a165ce8179d577844 100644 (file)
@@ -67,7 +67,6 @@ export function cloneWithOffset(input, model) {
     } else {
         return createLocal(input).local();
     }
-    return model._isUTC ? createLocal(input).zone(model._offset || 0) : createLocal(input).local();
 }
 
 function getDateOffset (m) {