https://defect.opensolaris.org/bz/show_bug.cgi?id=16660
Summary: Perforce repositories return months 1-12, not 0-11
Classification: Development
Product: opengrok
Version: unspecified
Platform: ANY/Generic
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: scm
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
--- Comment #0 from leaf nunes <[email protected]> 2010-07-27
20:42:25 UTC ---
Created an attachment (id=4219)
proposed fix, subtract one from the p4 date to give a 0-based month.
The 0.9 implementation of the perforce history parser passes the month given
for a change from perforce to GregorianCalendar.
This leads to dates displayed for changes that are a month after the actual
change time.
I'm not certain if this is a java implementation difference, or a perforce date
format difference, or if it's incorrect everywhere.
--
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev