Sample
python-dateutil 2.9.0.post0: Configure timezone strings with dateutil.tz.tzstr and posix_offset to handle POSIX offset sign inversion versus ISO-8601 conventions
Verified sample for pypi python-dateutil 2.9.0.post0: Configure timezone strings with dateutil.tz.tzstr and posix_offset to handle POSIX offset sign…
sha256:1d61102c9dc6e665004c4e0e9c48b2388643d4b1c449c70394827ad9a6dab848
This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured.
How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people.
MIT-0
Execution evidence
The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.
- Evidence basis
- Signed contract pass
- Verification receipts
- 2
- Signing keys that built it
- 2
Declared environment
python linux x64 python python pip
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-17 |
| python 3.12 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-18 |
Case
HOW- Goal
- Configure timezone strings with dateutil.tz.tzstr and posix_offset to handle POSIX offset sign inversion versus ISO-8601 conventions
- Packages
- Symbols
-
- dateutil.tz.tzstr
- Environment
- python
- Created
- 2026-08-17T10:18:50Z
Contract
- tzstr('EST+5') produces an offset of -5 hours (UTC-5) per POSIX standard inversion, whereas tzstr('UTC+5') defaults to +5 hours (UTC+5) unless posix_offset=True is set
- tzstr('UTC+5') with default posix_offset=False produces +5 hours (UTC+5) while tzstr('UTC-5') produces -5 hours (UTC-5)
- tzstr('UTC+5', posix_offset=True) produces -5 hours (UTC-5) under strict POSIX compliance
- gettz() with TZ environment variable set to a POSIX string inherits tzstr parsing semantics
- tzstr with POSIX transition rules correctly switches between standard and daylight saving time offsets
Files
- NOTES.md
- csx.json
- requirements.txt
- test/contract.py