grim/youtrack-import

Wow is it helpful when we spit out the issue number that failed to import
package youtrack
import (
"fmt"
"time"
)
func formatTime(t time.Time) int64 {
if t.IsZero() {
return 0
}
return t.Unix() * 1000
}
func formatTimeString(t time.Time) string {
return fmt.Sprintf("%d", formatTime(t))
}