elmah / Sandbox

Playground for testing ideas & hosting ad-hoc contributions
Apache License 2.0
0 stars 0 forks source link

ThrottleAssertion small suggestion #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In the code of ThrottleAssertion I noticed that it uses DateTime.Now instead of 
DateTime.UtcNow. This might cause some problems with Daylight saving time when 
the clock goes forward or backward.

Simple solution is to change the two DateTime.Now statements to DateTime.UtcNow.

Original issue reported on code.google.com by y...@yvo.net on 14 May 2012 at 4:57

GoogleCodeExporter commented 8 years ago

Original comment by azizatif on 14 May 2012 at 9:56