AAO-React-Native
AAO-React-Native copied to clipboard
Investigate use of Moment's `default` options
We should look into using Moment.relativeTimeRounding
and Moment.relativeTimeThreshold
to control the global rounding needs expressed in #that-other-issue. (see also: http://stackoverflow.com/a/42520227/2347774)
As it turns out, Moment Timezone also supports a "default time zone". Which will let us show all of our moments in Central time without having that constant scattered over every file :smile:
Great idea, @hawkrives
As it turns out, Moment Timezone also supports a "default time zone". Which will let us show all of our moments in Central time without having that constant scattered over every file
I'm not sure why we decided to define that more than once.
I know that we're not using the default time zone because we decided that only some views should use Central time; others should use the device time. We could revisit that.
We should revisit that.
Let's revisit that.
Triage: Can someone please find #that-other-issue and update what needs to happen here, or remove this from the v2.8.0 milestone?