sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.14k stars 207 forks source link

Discrepancy in displayed time when buying a license #7571

Open novoselt opened 1 month ago

novoselt commented 1 month ago

image

We have 00:00 time in the period configuration, but in the "info box" the start time is 00:00 (which is actually in the past) while the end time is 12:39 which would be correct if the the start was shifted to current time keeping the duration.

Whatever is the logic, the displayed behaviour is confusing. The start selector should advance to a sensible "now" time if there was a past timestamp entered. The end selector should either stay the same, or get adjusted by the same amount. Both the selector and the info box should show the same time, and it should be the same time that goes into cart and invoices. Since "now" has no fixed value, we should allow start which is slightly in the past and avoid constant drift.