View Issue Details

IDProjectCategoryView StatusLast Update
0001545bugs.cacert.orgmiscpublic2026-01-21 18:16
Reporterbdmc Assigned Tobdmc  
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformDefaultOSanyOS Versionany
Summary0001545: Date Calculation issues throughout system
DescriptionDate calculations reported in Bug 1544 also occur in other places in the various CACert systems.

For instance, date-dependent e-mail messages are not being sent.

Locate and correct these date calculations similarly to what was done for 1544.
TagsNo tags attached.

Relationships

related to 0001544 closedalkas Main CAcert Website Unable to delete users in support console due to date calculation 

Activities

bdmc

2023-02-08 04:29

developer   ~0006159

Last edited: 2023-02-08 22:35

I have examined all ( most ) of the SQL-related date calculations in the system, and, aside from the ones covered in bug 1544, they are all using the MySQL function unix_timestamp, which returns an integer number of seconds, related to the UNIX epoch. All other parts of those calculations are also integers.

Because of that, I do not feel that any of those calculations can produce wrong results in themselves.

As always, I am open to guidance as to areas to investigate further.

bdmc

2026-01-21 17:38

developer   ~0006349

Any notes in answer to my analysis three years ago?

alkas

2026-01-21 18:13

manager   ~0006352

Last edited: 2026-01-21 18:16

Now, another bug arised: If an user revoke any of his/her certificate, new period of 90 days starts. So if s/he do that in a good faith, s/he will get the unwanted result. This behaviour is apparently much better.
I have prepared a modified text of "delete init" mail, so it is possible to put it to the Email message patterns for the "Delete accounts" queue.

Issue History

Date Modified Username Field Change
2023-01-11 14:14 bdmc New Issue
2023-01-11 14:14 bdmc Assigned To => bdmc
2023-01-11 14:15 bdmc Relationship added related to 0001544
2023-02-08 04:29 bdmc Note Added: 0006159
2023-02-08 22:35 bdmc Note Edited: 0006159
2026-01-21 17:38 bdmc Note Added: 0006349
2026-01-21 18:13 alkas Note Added: 0006352
2026-01-21 18:16 alkas Note Edited: 0006352