Red Hat Bugzilla – Bug 42094
mktime random results
Last modified: 2007-04-18 12:33:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 5.1)
Description of problem:
I use the setlocale("LC_TIME", "en_US") and strftime() to display date and
some time the result is just an empty string.
Reload the page or go to another one to see it !
Steps to Reproduce:
1. Go to http://www.pocketmovies.net/
2. Look @ the movie of the week part
3. Check the "Downloaded *** times since the xxx"
Actual Results: Sometimes the xxx is empty or displays the date
Expected Results: Always the date
After investigation a little more, it seems to be a mktime() bug...