#1 2025-10-17 22:47

chingilou
Member
Registered: 2025-09-03
Posts: 2

Problem with v7.8 Reformat Date: Convert to "(yyyy)" from "yyyy"

in version 7.8 and 7.8.0.1 beta i have problem in Reformat Date: Convert to "(yyyy)" from "yyyy", whole words only, skip extension
01 is considered as year and renamed 0001
in version 7.7 it works perfect but not in the new one

Offline

#2 2025-10-20 23:36

chingilou
Member
Registered: 2025-09-03
Posts: 2

Re: Problem with v7.8 Reformat Date: Convert to "(yyyy)" from "yyyy"

OK, I found a solution with RegEx: Replace the expression "\(?(\d{4})\)?" with "($1)" (skip the extension), but it only prevents the Reformat Date command: Convert to "(yyyy)" from "yyyy", whole words only, skip the extension. fixes the problem in older versions.

Nevertheless, I found a solution.

Offline

#3 2025-10-23 11:33

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,500

Re: Problem with v7.8 Reformat Date: Convert to "(yyyy)" from "yyyy"

The date-time parser has undergone significant refactoring in v7.7.0.2 Beta, adding several new features and also becoming a bit more flexible.

The "yyyy" pattern is defined as 1-4 digits long, so that is why "01" is interpreted as a year. Perhaps this extra flexibility is counterproductive here.

We'll get this addressed in the next version.

Offline

Board footer

Powered by FluxBB