Bug 832459 - Use the time module properly. r=aki