mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-14 17:43:46 +01:00
Remove unnecessary return
This commit is contained in:
parent
690d0ed1bb
commit
6ddbe84bde
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ pub fn format_datetime_http(dt: &DateTime<Local>) -> String {
|
|||
|
||||
// HACK: HTTP expects the date to always be GMT (UTC) rather than giving an
|
||||
// offset (which would always be 0 in UTC anyway)
|
||||
return expiry_time.to_rfc2822().replace("+0000", "GMT");
|
||||
expiry_time.to_rfc2822().replace("+0000", "GMT")
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue