integtest: Change timestamp format to be compatible with Windows

This commit is contained in:
Andras Slemmer 2016-06-29 13:58:19 +01:00
parent 22e5a5dddc
commit d29dd121ff

View File

@ -11,7 +11,7 @@ class TestTimestamp {
companion object {
val timestamp: String = {
val tz = TimeZone.getTimeZone("UTC")
val df = SimpleDateFormat("yyyy-MM-dd-HH:mm:ss")
val df = SimpleDateFormat("yyyyMMddHHmmss")
df.timeZone = tz
df.format(Date())
}()