oduwsdl / MemGator

A Memento Aggregator CLI and Server in Go
https://memgator.cs.odu.edu/api.html
MIT License
55 stars 11 forks source link

Replace UTC with GMT in Accept-Datetime format #52

Closed ikreymer closed 8 years ago

ikreymer commented 8 years ago

Memgator uses Format(time.RFC1123) but that returns strings ending in UTC instead of GMT

Discussion here: http://grokbase.com/t/gg/golang-nuts/141xwr9vwd/go-nuts-rfc1123-date-format

However, Memento requires that the string be in GMT format: http://mementoweb.org/guide/rfc/#Accept-Memento-Datetime

TimeGates that expect GMT will thus not work, but obviously an easy fix.