late 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/late/late.c +1 -1
- data/lib/late/version.rb +1 -1
- metadata +1 -1
data/ext/late/late.c
CHANGED
@@ -7,7 +7,7 @@ const VALUE late_httpdate(VALUE self, VALUE rb_epoch) {
|
|
7
7
|
struct tm * timeinfo;
|
8
8
|
char buffer[80];
|
9
9
|
timeinfo = gmtime(&epoch);
|
10
|
-
strftime(buffer, 80, "%a, %d %b %Y %H:%M:%S
|
10
|
+
strftime(buffer, 80, "%a, %d %b %Y %H:%M:%S GMT", timeinfo);
|
11
11
|
return rb_str_new2(buffer);
|
12
12
|
}
|
13
13
|
|
data/lib/late/version.rb
CHANGED