stable
Clone or download
Read-only
Part of epic #12142 Baseline v1 DateUtils.setOptions() did not update time zone for DateUtils.format() and getFromNow(). This is due to moment.tz() which does not update current time zone, but return current date time with given time zone. Change-Id: Ief50848822557a968b7ffda0b682569757f94cb0
Modified Files
Name | ||||
---|---|---|---|---|
M | scripts/baseline/support/date-utils.js | +11 | −5 | Go to diff View file |
M | scripts/baseline/support/date-utils.spec.js | +4 | −6 | Go to diff View file |