mirror of
https://github.com/corda/corda.git
synced 2025-02-22 10:10:59 +00:00
integtest: Change timestamp format to be compatible with Windows
This commit is contained in:
parent
22e5a5dddc
commit
d29dd121ff
@ -11,7 +11,7 @@ class TestTimestamp {
|
|||||||
companion object {
|
companion object {
|
||||||
val timestamp: String = {
|
val timestamp: String = {
|
||||||
val tz = TimeZone.getTimeZone("UTC")
|
val tz = TimeZone.getTimeZone("UTC")
|
||||||
val df = SimpleDateFormat("yyyy-MM-dd-HH:mm:ss")
|
val df = SimpleDateFormat("yyyyMMddHHmmss")
|
||||||
df.timeZone = tz
|
df.timeZone = tz
|
||||||
df.format(Date())
|
df.format(Date())
|
||||||
}()
|
}()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user