diff options
-rw-r--r-- | compat/date.in | 1 | ||||
-rw-r--r-- | quilt.changes | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/compat/date.in b/compat/date.in index c67fe80..36d46e5 100644 --- a/compat/date.in +++ b/compat/date.in @@ -44,6 +44,7 @@ sub parse_utc_secs($) { GetOptions('rfc-822|R' => sub() { $spec = '%a, %d %b %Y %H:%M:%S %z' }, 'utc|universal|u' => \$utc, 'date|d=s' => sub() { $now = parse_utc_secs($_[1]) }, + 'reference|r=s' => sub() { my @filestats = stat($_[1]); $now = parse_utc_secs('1970/01/01 UTC ' . $filestats[9] . ' seconds') }, 'help|h' => sub() { usage }) or usage; diff --git a/quilt.changes b/quilt.changes index 5227620..2051f44 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Nov 2 20:12:31 CET 2009 - agruen@suse.de + +- Implement -r / --reference option in compat/date (patch from + Olivier Mehani <shtrom-savanah@ssji.net>). + +------------------------------------------------------------------- Thu Sep 17 22:11:54 CEST 2009 - agruen@suse.de - Restore the "remove" command which a few people were missing |