habitica-self-host/test/common
Bart Enkelaar 234258b41e
Move from deprecated moment#zone to moment#utcOffset (#12207)
* Issue 10209 - Remove read usages of zone

* Issue 10209 - Add coverage on daysSince and startOfDay cron utility functions

* Issue 10209 - Add unit test for daysUserHasMissed method

* Issue 10209 - Remove usages of deprecated `moment.js#zone` method.

* Issue 10209 - Add helper function to centralise logic

Also simplify timezoneOffsetToUtc function in site.vue

* Issue 10209 - Also add getUtcOffset as method on user

Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>
2020-07-25 13:22:41 +02:00
..
fns Move from deprecated moment#zone to moment#utcOffset (#12207) 2020-07-25 13:22:41 +02:00
libs Move from deprecated moment#zone to moment#utcOffset (#12207) 2020-07-25 13:22:41 +02:00
ops Add Bulk Feed via query parameter (#12384) 2020-07-13 16:04:03 +02:00
count.js misc, fix client tests 2019-10-15 15:32:53 +02:00
shouldDo.test.js Move from deprecated moment#zone to moment#utcOffset (#12207) 2020-07-25 13:22:41 +02:00
statHelpers.test.js fix test lint 2019-10-08 20:45:38 +02:00
test_helper.js misc, fix client tests 2019-10-15 15:32:53 +02:00