grim/youtrack-import
Clone
Summary
Browse
Changes
Graph
use `unset` as the value when a state is moving to/from an unknown states. Fixes YI-27
2020-01-17, Gary Kramlich
741af4ca4d62
use `unset` as the value when a state is moving to/from an unknown states. Fixes YI-27
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
))
}