mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-05 19:59:30 +00:00
Always use GMT as a timezone for federation (#502)
To prevent a bug with Mastodon
This commit is contained in:
parent
e93b8f4444
commit
21cb0ef437
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ impl Digest {
|
|||
|
||||
pub fn headers() -> HeaderMap {
|
||||
let date: DateTime<Utc> = SystemTime::now().into();
|
||||
let date = format!("{}", date.format("%a, %d %b %Y %T %Z"));
|
||||
let date = format!("{}", date.format("%a, %d %b %Y %T GMT"));
|
||||
|
||||
let mut headers = HeaderMap::new();
|
||||
headers.insert(USER_AGENT, HeaderValue::from_static(PLUME_USER_AGENT));
|
||||
|
|
Loading…
Reference in a new issue