When 1+1 $\neq$ 2: Benchmarking Civil-Time Reasoning in Large Language Models

Melika Shirian, Kianoosh Vadaei, Arshia Hemmat, Mohammad Hossein Shaker Ardakani, Ali Mamanpoosh, Matin Moqadas, Amirmasoud Rismanchian, Afsaneh FatemiarXiv 2026

TL;DR

In the world of human timekeeping, 1+1 doesn't always equal 2. If it’s 1:59 AM on the night we "spring forward" for Daylight Saving, adding one minute lands you at 3:00 AM, not 2:00 AM. This paper introduces CivilTime-Bench, a rigorous new benchmark designed to see if Large Language Models (LLMs) can handle the messy, non-linear logic of time zones, leap hours, and international date lines—revealing that while AI is getting better at following formatting rules, it still frequently trips over the actual math of our calendars.

What Problem Does This Paper Address?

We treat time as a linear progression, but "civil time"—the time on our clocks—is a patchwork of political and geographical rules. Between Daylight Saving Time (DST) transitions, non-hour UTC offsets (like Nepal’s +05:45), and the International Date Line, calendar arithmetic is a minefield for software.

Current AI models are increasingly used as personal assistants to schedule meetings or analyze server logs, yet most existing benchmarks only test "temporal ordering" (e.g., Did A happen before B?). They don't test the gritty, high-stakes arithmetic of timestamps. The authors argue that we need to distinguish between two types of failures: formatting errors (the model didn't use ISO-8601) and reasoning errors (the model used the right format but calculated the wrong hour).

Methods

The researchers developed a two-pronged approach to evaluate seven prominent LLMs (including Gemma-2, Mistral-7B, Qwen-2.5, Llama-3.1, Phi-4, Gemini 2.5 Flash Lite, and GPT-5-nano).

  1. Strict Output Contracts: To stop models from "yapping" and help isolate reasoning from formatting, the models were required to follow a strict one-line output format (e.g., YYYY-MM-DDThh:mm:ss±hh:mm).
  2. Prompting Regimes: They tested models under three conditions:
  3. Baseline Zero-Shot: Minimal instructions.
  4. Contract-Aware: Explicitly telling the model the output rules and civil-time conventions.
  5. In-Context Learning (ICL): Providing 2, 4, or 8 examples of solved problems.
  6. Fine-Tuning: They used QLoRA (a memory-efficient training technique) to see if models could "learn" the rules of the calendar from 60,000 training examples.
Figure 1: Contract-aware prompting can improve output formatting. Baseline (rose) vs. contract-aware (peach) outputs across civil-time categories. Contract restatement can improve format compliance but does not consistently improve exact-match accuracy, showing formatting ̸= reasoning.

Datasets

The study introduces two new datasets:

  • SyntheticTimeBench: A massive collection of 60,011 training and 10,000 evaluation examples generated programmatically. It covers 11 "stressors," including DST skips, DST repeats (the "extra hour" in fall), and ISO week boundaries.
  • HumanTime-500: A smaller, high-quality set of 500 scenarios authored by LLMs but strictly validated by humans. These are designed to look like real-world problems (e.g., "I'm flying from Honolulu to Kiritimati on New Year's Eve...") to test how well models generalize beyond synthetic templates.

Key Insights and Ideas

  • Formatting ≠ Reasoning: This is the paper's "aha moment." As shown in Figure 1, a model might learn to produce a perfectly formatted timestamp (improving its "FormatOK" score) while still getting the actual time wrong. Formatting is a surface-level skill; calendrical arithmetic is a deep reasoning skill.
  • The "Frontier" Gap: There is a massive gulf between top-tier proprietary models and open-source ones. GPT-5-nano and Gemini 2.5 Flash Lite were significantly more robust at handling these edge cases out of the box compared to models like Mistral or Llama.
  • The Generalization Trap: Models fine-tuned on the synthetic data became "specialists" that crushed the synthetic test (74–86% accuracy) but failed miserably on the naturalistic HumanTime-500 (dropping to 36–45%). This suggests models are memorizing templates rather than learning the underlying "physics" of time.

Key Results

  • Zero-Shot Performance: On the realistic HumanTime-500 set, open-source models struggled, scoring between 10.2% and 28.0% Exact Match (EM). In contrast, GPT-5-nano reached 73.2%.
  • Prompting Effects: Contract-aware prompting (explaining the rules) helped models like Phi-4 jump from 74.6% to 97.8% in format compliance, but its actual accuracy dropped from 40.8% to 35.8%.
  • Task Difficulty: Models are generally okay at simple offsets but fail spectacularly at the International Date Line and DST "skips."
Figure 2: Baseline zero-shot error rates by task type and model. The heatmaps show per-type error rates (100 −EM, in percent) on SyntheticTimeBench (top) and HumanTime-500 (bottom), using the corrected evaluation results. Darker colors indicate higher error rates. Both panels display the same 10 task types; WEEKSTART is omitted from this visualization for comparability but remains included in the evaluation wherever available. Synthetic results use 10,000 items for open-source models and 1,000 for API models. LLaMA’s zero-shot failure reflects prompt echoing rather than an isolated calendrical reasoning failure.

Limitations and Future Work

The authors acknowledge several boundaries to their work:

  • Gregorian Bias: The benchmark currently only handles the Gregorian calendar. Future work is needed for Hijri, Solar Hijri, or Lunar calendars.
  • Static Rules: It assumes a fixed set of time zone rules (IANA database). In reality, governments change DST rules frequently, and models need to be able to handle these updates.
  • No "Floating" Holidays: The benchmark doesn't yet account for business-day logic involving holidays like Easter or Lunar New Year, which shift every year.
  • Tool Use: The study focused on pure "mental math" by the LLMs. A promising future direction is testing how well LLMs can use external tools (like Python's pytz library) to solve these problems instead of doing them in their "heads."

Summary updated

Abstract

Calendar arithmetic is non-linear. When 1:59 AM + 1 minute occurs during daylight saving spring-forward, the result is 3:00 AM, not 2:00 AM, as the hour is skipped. We introduce CivilTime-Bench, a benchmark for civil-time reasoning covering daylight saving transitions, non-hour offsets, date-line crossings, and ISO week boundaries. With 60,011 training and 10,500 evaluation examples under strict output-contract evaluation, we benchmark seven LLMs (six instruction-tuned models and Llama-3.1-8B base) and find: zero-shot exact match varies substantially across models, contract-aware prompting often improves format compliance but yields inconsistent accuracy gains, few-shot in-context learning provides model-dependent improvements, and fine-tuning achieves 74.6--86.6% EM on synthetic evaluation but only 36.6--45.2% on HumanTime-500 for models with valid results on both splits, highlighting substantial limitations in generalization. We release the benchmark and code.
BibTeX
@misc{shirian2026when,
  author = {Melika Shirian and Kianoosh Vadaei and Arshia Hemmat and Mohammad Hossein Shaker Ardakani and Ali Mamanpoosh and Matin Moqadas and Amirmasoud Rismanchian and Afsaneh Fatemi},
  title = {{When 1+1 $\textbackslash\{\}neq$ 2: Benchmarking Civil-Time Reasoning in Large Language Models}},
  year = {2026},
  eprint = {2611.29972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29972},
}
Figure