Re: pyfilenametime plugin

chombee <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <1187714382.2067.2.camel@marley-20>
On Tue, 2007-08-21 at 16:12 +0200, Hubert wrote:
> I think that your understanding of this plugin is that it is meant to deal
> with files that are named this way : [timestamp]-name.ext.
> 
> I don't use it but what I suspect is that it is rather meant for this
> scheme : name-timestamp.ext
> 
> What do you think about ?

I thought it was meant to deal with a timestamp anywhere in the
filename, beginning, middle or end. It says:

"If a filename contains a timestamp in the form of  YYYY-MM-DD-hh-mm,
change the mtime to be the timestamp instead of the one kept by the
filesystem."

But I guess the actual intention could have been as you say. Then is my change an improvement? Now it will work for either, yes?



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.