View Issue Details

IDProjectCategoryView StatusLast Update
0000074Main CAcert Websitetranslationspublic2013-01-13 15:19
ReporterHans Verbeek Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version2006 
Summary0000074: Some less detail required (about 29.98 days == > about 30 days)
DescriptionPlease reduce the detail level of the days before certificate-expiration.

I.s.o.
"Your certificate is set to expire in approximately 29.98 days time",
please use
"Your certificate is set to expire in approximately 30 days time"
Additional Information----- Original Message -----
From: "CAcert Support" <support@cacert.org>
To: <h.verbeek@hccnet.nl>
Sent: Friday, October 14, 2005 12:45 PM
Subject: [CAcert.org] Your Certificate is about to expire


> Hi Henri,
>
> You are receieving this email as you are the listed contact for:
>
> h.verbeek@hccnet.nl
>
> Your certificate is set to expire in approximately 29.98 days time, you
> can renew this by going to the following URL:
>
> https://www.cacert.org/account.php?id=5
>
> Best Regards
> CAcert Support
TagsNo tags attached.
Reviewed by
Test Instructions

Activities

duane

2006-08-16 19:28

developer   ~0000562

$row['daysleft'] = ceil($row['daysleft']);

bluec

2006-08-16 19:54

manager   ~0000578

round() would have been perfect imho, but ceil() is OK. I guess you had your reasons.

duane

2006-08-16 20:02

developer   ~0000580

I used ceil() because round() potentially would have made 0.48 -> 0 when it's still 12 hours...

Just keeps things neat (from a human perspective)...

bluec

2006-08-16 20:18

manager   ~0000581

But now the system writes "you have 1 day" and in reality you just have 2 hours. round() wouldn't be a lot better, but what about floor()?

Or lets make it

print "You have ".floor($row['daysleft'])." days and ".floor(fmod($row['daysleft'],1)*24)." hours left";

(Or leave it like it is - I don't really care :)

homer

2006-08-19 09:39

reporter   ~0000613

or let's play "24 hours" season 6

Issue History

Date Modified Username Field Change
2005-10-19 05:20 Hans Verbeek New Issue
2006-08-16 19:27 duane Status new => needs work
2006-08-16 19:27 duane Assigned To => bluec
2006-08-16 19:28 duane Status needs work => solved?
2006-08-16 19:28 duane Fixed in Version => production
2006-08-16 19:28 duane Resolution open => fixed
2006-08-16 19:28 duane Note Added: 0000562
2006-08-16 19:54 bluec Note Added: 0000578
2006-08-16 19:54 bluec Assigned To bluec =>
2006-08-16 19:54 bluec Status solved? => closed
2006-08-16 20:02 duane Note Added: 0000580
2006-08-16 20:18 bluec Note Added: 0000581
2006-08-19 09:39 homer Note Added: 0000613
2013-01-13 15:19 Werner Dworak Fixed in Version => 2006