mirror of https://github.com/sbt/sbt.git
Replace nnbsp with regular space
This commit is contained in:
parent
4835812e1c
commit
92d4cfa690
|
|
@ -1011,7 +1011,7 @@ class NetworkClient(
|
||||||
private def timing(startTime: Long, endTime: Long): String = {
|
private def timing(startTime: Long, endTime: Long): String = {
|
||||||
import java.text.DateFormat
|
import java.text.DateFormat
|
||||||
val format = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM)
|
val format = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM)
|
||||||
val nowString = format.format(new java.util.Date(endTime))
|
val nowString = format.format(new java.util.Date(endTime)).replace("\u202F", "\u0020")
|
||||||
val total = math.max(0, (endTime - startTime + 500) / 1000)
|
val total = math.max(0, (endTime - startTime + 500) / 1000)
|
||||||
val totalString = s"$total s" +
|
val totalString = s"$total s" +
|
||||||
(if (total <= 60) ""
|
(if (total <= 60) ""
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ object Aggregation {
|
||||||
}
|
}
|
||||||
|
|
||||||
def timing(format: java.text.DateFormat, startTime: Long, endTime: Long): String = {
|
def timing(format: java.text.DateFormat, startTime: Long, endTime: Long): String = {
|
||||||
val nowString = format.format(new java.util.Date(endTime))
|
val nowString = format.format(new java.util.Date(endTime)).replace("\u202F", "\u0020")
|
||||||
val total = (endTime - startTime + 500) / 1000
|
val total = (endTime - startTime + 500) / 1000
|
||||||
val totalString = s"$total s" +
|
val totalString = s"$total s" +
|
||||||
(if (total <= 60) ""
|
(if (total <= 60) ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue