spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BryanCutler <...@git.apache.org>
Subject [GitHub] spark pull request #20559: [WIP][SPARK-23360][SQL][PYTHON] Get local timezon...
Date Fri, 09 Feb 2018 19:28:03 GMT
Github user BryanCutler commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20559#discussion_r167322999
  
    --- Diff: python/pyspark/sql/types.py ---
    @@ -1709,6 +1709,15 @@ def _check_dataframe_convert_date(pdf, schema):
         return pdf
     
     
    +def _get_local_timezone():
    +    """ Get local timezone from environment vi pytz, or dateutil. """
    --- End diff --
    
    did you mean "from environment via pytz"?  the 'TZ' environment var is read by the `datetime`
module, does pytz do anything with this?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message