tools
tools copied to clipboard
[autoGuides] End date and start date are computed wrong for each guide
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 );
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?