<div dir="ltr">Does date-ticks possibly needs to cope with find-seconds failing to find the seconds?<div><br></div><div>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 5:02 PM, Neil Toronto <span dir="ltr"><<a href="mailto:neil.toronto@gmail.com" target="_blank">neil.toronto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 02/06/2013 02:14 PM, Jimmy Olgeni wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Wed, 6 Feb 2013, Jimmy Olgeni wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The problem is that, due to this error, "make install" does not<br>
complete and I cannot get a repeatable build for the package, but<br>
maybe I can find a way to exclude the plot docs build.<br>
<br>
Does the weird date come from the docs source?<br>
</blockquote>
<br>
I found it in collects/plot/tests/low-level-<u></u>tests.rkt. I'll look for a<br>
way around :)<br>
</blockquote>
<br></div></div>
Those are tests, which aren't run during setup. Besides that, there's no (find-seconds 0 0 0 1 5 1970) in "low-level-tests.rkt".<br>
<br>
I scanned through the plot documentation and found this, though:<br>
<br>
(parameterize ([plot-x-label "Near x axis"]<br>
[plot-y-label "Near y axis"]<br>
[plot-z-label "Near z axis"]<br>
[plot-x-ticks (date-ticks)]<br>
[plot-y-ticks (time-ticks)]<br>
[plot-z-ticks (fraction-ticks)]<br>
[plot-x-far-label "Far x axis"]<br>
[plot-y-far-label "Far y axis"]<br>
[plot-z-far-label "Far z axis"]<br>
[plot-x-far-ticks (linear-ticks)]<br>
[plot-y-far-ticks (currency-ticks)]<br>
[plot-z-far-ticks (log-ticks #:base 2)])<br>
(plot3d (lines3d '(#(1 1 1) #(40000000 4 4)) #:style 'transparent)<br>
#:angle 45 #:altitude 50<br>
#:title "Axis Names and Tick Locations"))<br>
<br>
One of the tick labels on the near x axis is "1970-05". I don't remember exactly how the tick layout and formatting code works, but it's very possible that it uses `find-seconds' with the arguments 0 0 0 1 5 1970 to position that label.<br>
<br>
BTW, it's not January 5, but May 1. Is that a valid date on your machine? Also, does either (find-seconds 0 0 0 1 5 1970 #f) or (find-seconds 0 0 0 1 5 1970 #t) fail in Racket?<span class="HOEnZb"><font color="#888888"><br>
<br>
Neil ⊥</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/<u></u>dev</a><br>
</div></div></blockquote></div><br></div>