Closed evs38 closed 4 years ago
When gating in both sides, date, time and timezone should use timezone from headers, not the timezone of the Fidogate server, when UseTZUTCKludge option is set.
RFC: Date: Mon, 17 Feb 2020 07:32:23 +0400 FTN: Date: 2020-02-17 06:32:22 @TZUTC: 0300
Date: Mon, 17 Feb 2020 07:32:23 +0400
Date: 2020-02-17 06:32:22
@TZUTC: 0300
RFC: Date: Mon, 17 Feb 2020 07:32:23 +0400 FTN: Date: 2020-02-17 07:32:23 @TZUTC: 0400
Date: 2020-02-17 07:32:23
@TZUTC: 0400
Timezone on Fidogate server: Europe/Moscow (UTC+0300) Timezone of NNTP client: Europe/Samara (UTC+0400) Timezone of FTN client: Europe/Samara (UTC+0400)
Do you have the problem for ftn2rfc as well? I just remember I did something about that: https://github.com/ykaliuta/fidogate/commit/fd43be841d38cd3131f987d3164589586550f4bc
When gating in both sides, date, time and timezone should use timezone from headers, not the timezone of the Fidogate server, when UseTZUTCKludge option is set.
Actual behaviour
RFC:
Date: Mon, 17 Feb 2020 07:32:23 +0400
FTN:Date: 2020-02-17 06:32:22
@TZUTC: 0300
Expected behaviour
RFC:
Date: Mon, 17 Feb 2020 07:32:23 +0400
FTN:Date: 2020-02-17 07:32:23
@TZUTC: 0400
Configuration
Timezone on Fidogate server: Europe/Moscow (UTC+0300) Timezone of NNTP client: Europe/Samara (UTC+0400) Timezone of FTN client: Europe/Samara (UTC+0400)