spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scwf <>
Subject [GitHub] spark pull request: [CORE] [TEST] Fix SimpleDateParamTest
Date Sat, 23 May 2015 10:42:42 GMT
Github user scwf commented on a diff in the pull request:
    --- Diff: core/src/test/scala/org/apache/spark/status/api/v1/SimpleDateParamTest.scala
    @@ -21,6 +21,11 @@ import org.scalatest.{Matchers, FunSuite}
     class SimpleDateParamTest extends FunSuite with Matchers {
       test("date parsing") {
    +    import java.util.{Locale, TimeZone}
    --- End diff --
    @srowen i think i get it. see
    `SimpleDateParam` use `SimpleDateFormat` to parse the date string and SimpleDateFormat
is sensitive for time zone and we can set the time zone for simpledateformat by 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message