[py-dev] changed 1 minute ago
Looking through the pypy documentation this morning I noticed that Armin Rigo had committed a file 2 minutes ago. As this was sunday morning, I was happy to notice I am not the only one who cannot sleep in. However 10 minutes later this was still 2 minutes ago, and a minor typo correction I committed got marked as modified 1 minute ago and stayed that way. I traced the thing down to the www/pypywww/render/doc.py -> worded_diff_time function. Which would work nice if the pages were not generated staticly, or at least regenerated every night, which they are not. The function seems to be in there since the first revision of the file. Any objections to me changing the call to this function to something more useful on staticly generated pages like 5th March, 2006? Anthon
Hi Anthon, On Sun, Mar 05, 2006 at 17:40 +0100, Anthon van der Neut wrote:
Looking through the pypy documentation this morning I noticed that Armin Rigo had committed a file 2 minutes ago. As this was sunday morning, I was happy to notice I am not the only one who cannot sleep in.
However 10 minutes later this was still 2 minutes ago, and a minor typo correction I committed got marked as modified 1 minute ago and stayed that way.
note that this is the development list for the py library and the one for pypy development. That being said ...
I traced the thing down to the www/pypywww/render/doc.py -> worded_diff_time function. Which would work nice if the pages were not generated staticly, or at least regenerated every night, which they are not. The function seems to be in there since the first revision of the file.
Any objections to me changing the call to this function to something more useful on staticly generated pages like 5th March, 2006?
hum, this is a possibility. The other one is to indeed generate the docs daily so that this misleading information goes away. But push ahead in changing the function for the moment. cheers & thanks, holger
participants (2)
-
Anthon van der Neut -
hpk@trillke.net