Description of problem: Printing the day of year (%j) with the CalendarLib.Printer.* functions prints the wrong value for days 1 through 9. Version-Release number of selected component (if applicable): 2.0.2 How reproducible: Always Steps to Reproduce: 1. Load ocaml-calendar in the OCaml toplevel or in any OCaml code 2. Use the following commands: let d = CalendarLib.Calendar.make 2007 01 01 01 01 0 CalendarLib.Printer.Calendar.print "%Y%j%H%M%S" d Actual results: This will print: 200701010100 Expected results: rather than the expected: 2007001010100 Additional info: There is a new version (2.0.4) which fixes this bug and adds a few new functions. I am willing to make a patch for just this fix if that is preferable. I don't know if this bug is a target for fixing in Fedora 9 though, given the OCaml packaging guidelines. If it can't be fixed for F9, then rawhide should probably be updated if it has not been already.
It's probably better to just upgrade, although we'll need to rebuild every library which depends on ocaml-calendar, unless we're lucky and the MD5 sums happen to still match. Dependent libraries are: ocaml-libvirt ocaml-pgocaml
ocaml-calendar-2.0.4-1.fc9 has been submitted as an update for Fedora 9
ocaml-calendar-2.0.4-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ocaml-calendar'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-6356
ocaml-calendar-2.0.4-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.