cudf
cudf copied to clipboard
Try to read timezone file from `$CONDA_PREFIX` dir before trying the system dir
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.