mirror of
https://github.com/corda/corda.git
synced 2025-02-21 17:56:54 +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 {
|
||||
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())
|
||||
}()
|
||||
|
Loading…
x
Reference in New Issue
Block a user