David Welton wrote:
> Here's my hacky workaround: just add a day and call it good:
> 
> @@ -12411,7 +12410,9 @@ Timeplot.DefaultTimeGeometry.prototype = {
>                  case time.DECADE:
>                  case time.CENTURY:
>                  case time.MILLENNIUM:
> -                  var l = t.getUTCFullYear();
> +                 var tmpd = new Date(t.getTime());
> +                  tmpd.setDate(t.getDate() + 1);
> +                  var l = tmpd.getUTCFullYear();
>                    break;
>              }
>              if (x > 0) {

works for me. I'll apply.

-- 
Stefano Mazzocchi                              Application Catalyst
Metaweb Technologies, Inc.                      [email protected]
-------------------------------------------------------------------


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to