Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Mar 18, 2022
1 parent 79c602f commit 251e8ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ object GpuTextBasedDateUtils {
}

// strip off suffixes that cuDF will not recognize
val str = formatRoot
val cudfSupportedFormat = formatRoot
.replace("'T'", "T")
.replace("[.SSSXXX]", "")
.replace("[.SSS][XXX]", "")
Expand All @@ -600,7 +600,7 @@ object GpuTextBasedDateUtils {
.replace(".SSS", "")
.replace("[:ss]", "")

val cudfFormat = toStrf(str, parseString)
val cudfFormat = toStrf(cudfSupportedFormat, parseString)
val suffix = if (hasZsuffix) "Z" else ""

val optionalFractional = Seq("[.SSS][XXX]", "[.SSS]", "[.SSSSSS]", "[.SSS][XXX]",
Expand Down

0 comments on commit 251e8ec

Please # to comment.