You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
... I have understood that answers are voluntary and community-driven, and not commercial support.
... I have verified that my issue has not been already answered in the past. I also checked previous issues.
Description
I created a temporary email alias with the default expiry of 1 yr. I then changed it to expire after 1 hr. I noticed that the "valid until" and "created on" times were 2 hrs apart.
Preconditions:
- Server time is UTC
- Client OS: macOS 14.7.1, TZ set to Germany (currently UTC+1)
- Browser: Firefox 132.0
- (In case it matters) Webmail: time display set TZ "Europe/Berlin", times are correctly displayed in local (German) time
Logs:
Won't help.
Steps to reproduce:
1. Create random alias for 1 yr
2. Note that at this time already, the display of "valid until" and "created on" times differs not only by 1 yr, but by "1 yr 1 h."
3. Select alias with checkbox
4. Click "Actions" > "Expire in 1 hour"
5. Note that the two times displayed ("valid until" and "created on") now differ by 2 hours.
This works for me testing with your steps just now:
But I have the server TZ same as client TZ that's probably where the difference comes from. You create in UTC (since working on the mailcow UI in server TZ) but you see the results in your local TZ.
I have no clue about how this is implemented "under the hood," but in any case these two times must be handled inconsistently somehow (on the server, in the client code), otherwise this wouldn't have occurred to me.
Maybe in one instance, the proper handling of TZ information does not take place (i.e. TZ is not properly considered when outputting the time), or TZ info gets lost when storing the date field? I can just guess here...
Is there anything I can do from my end to further narrow it down? Or should I just leave it to the devs to figure it out?
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
x86
Operating System:
Debian 12.7
Server/VM specifications:
AWS m5.large: 8 GB RAM, 2 vcores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
AWS EC2
Docker version:
27.3.1
docker-compose version or docker compose version:
v2.29.7
mailcow version:
2024-08a
Reverse proxy:
none
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check:
The text was updated successfully, but these errors were encountered: