grim/youtrack-import
Clone
Summary
Browse
Changes
Graph
Add comments to issues when files are attached and mark all comments as markdown
draft
2020-07-27, Gary Kramlich
186525273046
Add comments to issues when files are attached and mark all comments as markdown
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
))
}