On Tue, Jun 21, 2011 at 09:24:21AM +0100, Miguel Almeida wrote: > Hi Daniel, > > On Mon, 2011-06-20 at 22:17 +0300, Daniel Shahaf wrote: > > > Miguel Almeida wrote on Mon, Jun 20, 2011 at 15:02:27 +0100: > > > I tried adding the following, but with no success (I must be passing > > > the date wrongly): > > > --add-header date=`date -R` > > > > --add-header Date="`date -R`" > > > > FWIW, 'date -R' is not portable; I think the portable version is > > LC_ALL=C date +"%a, %d %b %Y %H:%M:%S %z" > > > > Could you tell me what you mean by non-portability?
He's saying it will only work on Linux :) > And also, what does > the LC_ALL=C part mean in the line you suggest? It implies LC_CTIME=C, which for in some cases controls how the date will be formatted on systems that support the LC_TIME locale. Setting LC_TIME to "C" guarantees the default POSIX formatting rules will be used.