Updated moment calls to use number, period to fix the deprecation error
Merge pull request #4392 from crookedneighbor/fix-moment-in-tests

Updated moment calls to use number, period to fix the depreciation error