Project

General

Profile

Feature #301 » last_modified_in_gmt.patch

Sent back the Last-Modified header in GMT timestamp - Wido den Hollander, 07/23/2010 07:43 AM

View differences:

src/rgw/rgw_rest.cc
static void dump_last_modified(struct req_state *s, time_t t) {
char timestr[TIME_BUF_SIZE];
struct tm *tmp = localtime(&t);
struct tm *tmp = gmtime(&t);
if (tmp == NULL)
return;
(2-2/3)