Ticket #7444 (new defect)

Opened 3 years ago

Last modified 3 years ago

VBA does not allow a time string "0:0:0".

Reported by: okazaki Assigned to: okazaki
Priority: normal Component: VisualBasicTracConnectorIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11

Attachments

Change History

08/02/10 09:32:12 changed by okazaki

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

08/02/10 09:49:55 changed by anonymous

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")

Add/Change #7444 (VBA does not allow a time string "0:0:0".)




Change Properties
Action