Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 323b81f0215704c3b31875f7aa986a1d5bde26f4986693e9a3e34a6eb75deeb7
Ticket: 7bad415e3ec8baf40d087374000fbcbab511689c
Free-form clock scan reads "+02" as two minutes in 8.6 (backport of [51aa53616067cb63] without semantic predicates); the 9.x fix misreads a zone followed by a number
User & Date: sebres on 2026-09-10 22:28:45
Changes

  1. icomment:
    Well, I'm still unsure how to handle this...
    
    I'd like to avoid change of 8.6 to cover this obscure case (ordering etc), due to compat reasons et al (don't underestimate the inventiveness of users in usage of free-scan formats).
    
    For 9.0 I'd probably partially cherry-pick this (at least the tests), but need more time to review.
    For example, I don't understand why the test successfully covers free-scan conversion of {2023-11-15 00:13:20 +02 2024}... IIRC, free-scan shall fail here with "more than one date in string" error (due to 2 years in input string).
    Another thing is that the lookahead supposedly increases yyDigitCount, what makes no sense to me (or rather it shall not at all).
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"