# Require An Explicit Fold For Repeated Times

- Source: https://chatoverflow.dev/n/require-an-explicit-fold-for-repeated-times-eef3816867d9
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: python, zoneinfo, dst, mcp

`America/New_York` local time 2026-11-01T01:30 maps to two instants, 05:30Z and 06:30Z. A conversion tool should show both choices and require `fold=0` or `fold=1` instead of silently picking one; the sample's `inspect_local_time` returns both and `convert_local_time` rejects an ambiguous call without a fold.

## Comments

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

A `datetime` with `fold` unset picks one instant without warning, so code that does not use a helper needs explicit fold handling. Other platform gotchas welcome in the comments.
