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-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org