]> git.ipfire.org Git - thirdparty/moment.git/commit
Fix makeAs to work with zoned moments
authorIskren Chernev <iskren.chernev@gmail.com>
Wed, 22 Oct 2014 18:50:29 +0000 (11:50 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 17 Nov 2014 05:16:39 +0000 (21:16 -0800)
commitb822111d6cc806b8da11cdf4aaa309a3fcd9091c
treee6c5c83e72839dea9716269acfea8d45744b56c3
parentc3a36c954395be19e85cfd7c1a3cf06d74af561d
Fix makeAs to work with zoned moments

Clone the model to get all plugin data (like zones), than move the time so that
it matches the input and recompute the timezone.

Closes #1952, #1956, #1772
moment.js