mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Fix typo in Timestamp LF conversion error message (#18995)
This commit is contained in:
parent
ce2af18d15
commit
280f0b5a44
@ -182,7 +182,7 @@ object Time {
|
||||
s: String,
|
||||
rounding: RoundingMode = DefaultRounding,
|
||||
): Either[String, Timestamp] =
|
||||
safely(assertFromString(s, rounding), s"cannot convert sting $s into Timestamp")
|
||||
safely(assertFromString(s, rounding), s"cannot convert string $s into Timestamp")
|
||||
|
||||
def now(): Timestamp = assertFromInstant(Instant.now(), DefaultRounding)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user