[PATCH] export: introduce 'Unix Date' header with the date spelled out

Mads Kiilerich mads at kiilerich.com
Sat Feb 9 03:43:01 CST 2013


On 02/09/2013 10:24 AM, Pierre-Yves David wrote:
> On Fri, Feb 08, 2013 at 05:23:21PM -0500, Greg Ward wrote:
>> On 08 February 2013, Mads Kiilerich said:
>> Like the feature. Not so keen on the name. Random thoughts...
>>
>>      English date
>>      Human date
>>      Readable date
>>      Text date
>>      RFC822 date
>>
>> Also, that date format is ... weird, because the time comes between
>> the day and the year. I would prefer either something like ISO format
>>
>>    1970-01-01 00:00:00 +0000
>>
>> or something closer to traditional English-language date formatting:
>>
>>    Thu Jan 01 1970 00:00:00 +0000
>>
>> ISO format has many advantages, not least the fact that the name is
>> obvious:
> +1 for using the, obvious, lexically sortable, ISO format and sending back the
> oddly ordered english format into oblivion.
>

For now I will focus on making it consistent with the format used by 'hg 
log'. It is possible that both could use a better format. (Bonus points 
for making hgweb not using a third format ;-) )

/Mads


More information about the Mercurial-devel mailing list