cudf icon indicating copy to clipboard operation
cudf copied to clipboard

Try to read timezone file from `$CONDA_PREFIX` dir before trying the system dir

Open vuule opened this issue 11 months ago • 8 comments

Description

Closes https://github.com/rapidsai/cudf/issues/12926

Modified the logic when opening TZ files to try multiple paths before giving up. Without user-specified path, we try $CONDA_PREFIX/share/zoneinfo and then /usr/share/zoneinfo/.

Testing is limited to consistency with previous logic. We don't have tests for the $CONDA_PREFIX path.

Checklist

  • [x] I am familiar with the Contributing Guidelines.
  • [x] New or existing tests cover these changes.
  • [ ] The documentation is up to date with these changes.

vuule avatar Mar 02 '24 02:03 vuule