83e4f6d4ab
refs FOO-1891 this is the start of a series to break apart the inter-dependencies between timezone and moment.js the formatting that is done by moment now stands alone in packages/date-time-moment-parser and is used by ui/shared/timezone. The formatter depends on phrases coming from the locale files, which are available to ui/* but not to packages/*, so in an initializer we inject our custom formats into the package, allowing it to make use of them. there should be no breaking API changes, even though several APIs were dropped, as they were all used in test but not in the app code. To minimize the changes, a specHelpers.js file is now provided by the timezone package that maintains backwards compat to a reasonable extent. TEST PLAN ==== ==== although the tests should be covering this, it wouldn't hurt to manually exercise any of the date picker widgets Change-Id: I0c59ad2df8f7392425debb6ec448ec1b4fb029c6 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/265313 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Charley Kline <ckline@instructure.com> Product-Review: Charley Kline <ckline@instructure.com> QA-Review: Charley Kline <ckline@instructure.com> |
||
---|---|---|
.. | ||
ajax_mocks/api | ||
I18nStubber.js | ||
assertions.js | ||
editorUtils.js | ||
fakeENV.js | ||
fixtures.js | ||
getFakePage.js | ||
jquery.simulate.js | ||
loadFixture.js | ||
simulateClick.js | ||
stubRouterContext.js | ||
util.js |