My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2288: Stripping timezone information?
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Oct 2014


Sign in to add a comment
 
Reported by samedii, Sep 17, 2014
This line seems to be incorrect when handling timezones:

this.start = this.intervalStart = date.clone().stripTime();

It's in BasicDayView and maybe more.

If you want to preserve timezones you probably want to use:
this.intervalStart = date.clone().startOf('day');
Sep 23, 2014
#1 samedii
Realized you're doing this on purpose. This is all included in moment-timezone and moment-range though...
Oct 30, 2014
Project Member #2 adamrs...@gmail.com
yeah, im doing this on purpose because i want `.start` to hold the date of the day, with no time (i.e. ambiguous time)
Status: Done
Sign in to add a comment

Powered by Google Project Hosting