Modify ↓
Opened 15 years ago
Last modified 15 years ago
#7444 new defect
VBA does not allow a time string "0:0:0".
| Reported by: | Yuji OKAZAKI | Owned by: | Yuji OKAZAKI |
|---|---|---|---|
| Priority: | normal | Component: | VisualBasicTracConnectorIntegration |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
This may be correct patch.
In TracXMLRPC::convertDateStr
- convertDateStr = Format(d, "yyyy/mm/dd h:m:s") + convertDateStr = Format(d, "yyyy/mm/dd hh:mm:ss")
Note: See
TracTickets for help on using
tickets.



This is a workaround patch. In ProjectConnector::addMilestone
If due <> "" And due <> "0" Then '基準計画の開始日を設定 - t.Start = due - t.BaselineStart = due + t.Start = Replace(due, " 0:0:0", " 00:00:00") + t.BaselineStart = Replace(due, " 0:0:0", " 00:00:00") t.BaselineDuration = 0 End If t.Duration = 0 'あえて期間を0として気づきやすくする If completed <> "" And completed <> "0" Then '開始日を設定 t.PercentComplete = 100 - t.Start = completed + t.Start = Replace(completed, " 0:0:0", " 00:00:00") memo = memo + "実:" + completed + vbCrLf End If