(
Jump to the original submission)
Mon 16 Aug 2010 09:26:42 AM UTC, comment #8:
Added documentation.
(file #21233)
|
Mon 16 Aug 2010 09:07:17 AM UTC, comment #7:
This patch implements --newer-than/--older-than. Using these without setting -N is treated as an error.
The patch is against plain 1.12, but applies cleanly to 1.12-2416. It requires gnulib getdate module to be added to the source tree, which I couldn't get to work with 2416.
(file #21232)
|
Fri 13 Aug 2010 02:50:08 PM UTC, comment #6:
I want this, and will be implementing it if no-one else has done so already. (Nothing in 1.12-2416 seems to indicate so).
I'd say two options are needed/wanted:
--newer-than=TIME
--older-than=TIME
Download only files newer (or older) than TIME. Option controls download only, so test is done before file-exists-locally test.
Use both and you'll specify a range.
gnulib get_date() seems ok (accepts iso-time and more)
Regarding -N, I'd say these options should either require -N to be set, or set it automatically.
|
Mon 09 Mar 2009 04:05:41 PM UTC, comment #5:
Again, you should be looking at "info coreutils date", not "man getdate".
|
Mon 09 Mar 2009 04:05:12 PM UTC, comment #4:
Nope, I'm talking about gnulib's get_date, not glibc's getdate.
|
Sun 08 Mar 2009 06:32:17 PM UTC, comment #3:
Ya i looked into the man before itself And
MAN says
getdate() uses the formats found in the file whose full pathname is given in the environment variable DATEMSK.
So anyway we need to discuss the various formats that need to be
supported anyway. Is there anyway to make it accept based on the locale format? Say in India we use 12/2/2008 for 12th Feb 2008 but it means like 2nd Dec 2008 in someother locale ( I am bit confused in this stuff sorry if i am wrong)
And is there any way to make it automatically match any of the date
formats available without that DATEMSK file ( or else we may constrain that to only few of the specific formats
|
Sun 08 Mar 2009 07:50:27 AM UTC, comment #2:
I think we'd use gnulib's get_date, which is what the GNU coreutils date command use. See what "info coreutils date" shows you in terms of variety of accepted formats. :)
|
Sat 07 Mar 2009 04:12:33 PM UTC, comment #1:
The time formats to be accepted?
Should it accept this only of -N specified?
Should it accept this even in the absence of local file ?
I think there is still some discussions to be done in this regard
|
Fri 06 Jul 2007 10:58:33 PM UTC, original submission:
For example, wget --if-modified-after DATE URL.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.