Issue 59 in vrjuggler: DateTime utility uses the wrong number of seconds / week

5 views
Skip to first unread message

vrju...@googlecode.com

unread,
May 8, 2014, 5:10:19 PM5/8/14
to vrjuggl...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 59 by ge...@geoffhill.org: DateTime utility uses the wrong number
of seconds / week
http://code.google.com/p/vrjuggler/issues/detail?id=59

What steps will reproduce the problem?
1. Use the DateTime::getWeeks or DateTime::getWeeksf methods.
2. Notice that the result is incorrect due the wrong number of seconds per
week.

What is the expected output? What do you see instead?
Expected: (seconds since epoch / 604800)
Actual: (second since epoch / 608400)

What version of the product are you using? On what operating system?
git HEAD.

Please provide any additional information below.
Patch attached.

Attachments:
vrjuggler-week-seconds.patch 842 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages