tools icon indicating copy to clipboard operation
tools copied to clipboard

[autoGuides] End date and start date are computed wrong for each guide

Open bogdanalexe90 opened this issue 9 years ago • 1 comments

The weekend guides are not computed correctly. The problem seems to appear from this pice of code:

      // calculate beginning and end of day
      var start = new Date( date );
      start.setHours( 0, 0, 0 );
      var end = new Date( date );
      start.setHours( 23, 59, 59 );

it should be like:

      // calculate beginning and end of day
      var start = new Date( date );
      start.setHours( 0, 0, 0 );
      var end = new Date( date );
      end.setHours( 23, 59, 59 );

bogdanalexe90 avatar Apr 08 '16 09:04 bogdanalexe90

Hi @bogdanalexe90, sorry for not getting back to you sooner on this.

On April 21st we made some changes to the autoGuides plugin.

After upgrading to the latest version, do you still have this problem?

Pauan avatar Sep 30 '16 05:09 Pauan