: colon => dash - in keyfile name - slight deviation from ISO8601 for WIN FS compatibility

pull/1453/head
zelig 9 years ago
parent a2333bcbb4
commit 589f1c85b9
  1. 2
      crypto/key_store_plain.go

@ -189,7 +189,7 @@ func toISO8601(t time.Time) string {
} else {
tz = fmt.Sprintf("%03d00", offset/3600)
}
return fmt.Sprintf("%04d-%02d-%02dT%02d:%02d:%02d.%09d%s", t.Year(), t.Month(), t.Day(), t.Hour(), t.Minute(), t.Second(), t.Nanosecond(), tz)
return fmt.Sprintf("%04d-%02d-%02dT%02d-%02d-%02d.%09d%s", t.Year(), t.Month(), t.Day(), t.Hour(), t.Minute(), t.Second(), t.Nanosecond(), tz)
}
func getKeyAddresses(keysDirPath string) (addresses []common.Address, err error) {

Loading…
Cancel
Save