AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[Bug] Date format not changing

Open DLhaus opened this issue 1 year ago • 1 comments

Bug Description

Hi there, Just using the date property and I was copy pasting a date. I'm using european format (d/m/y), I changed it in the property parameters though when I paste a date it still recognize it as m/d/y. eg= i'm pasting 03/12/2022 (3rd december 2022) and it still gives me 12 march 2022 even after closing and restarting appflowy etc :)

How to Reproduce

in a grid with date property change date format from us to eu

Expected Behavior

that it recognize 3rd december instead of 12 march

Operating System

MacOS

AppFlowy Version(s)

Version 0.7.8 (0.7.8)

Screenshots

No response

Additional Context

No response

DLhaus avatar Dec 30 '24 11:12 DLhaus

Capture d’écran 2024-12-30 à 12 32 52 Capture d’écran 2024-12-30 à 12 33 11 Capture d’écran 2024-12-30 à 12 33 18

DLhaus avatar Dec 30 '24 11:12 DLhaus

As an aside, add an option for "01 Jan 2025" would be nice. That style is available for American formatting, but not everyone else who uses the Gregorian calendar.

philiprenich avatar Feb 23 '25 06:02 philiprenich

I just noticed with this bug, while I'm seeing what @DLhaus is experiencing, if I set the format to "Jan 01, 2025" and type in the adjusted date, it will work correctly. ie if I have "Aug 01, 2022" I can retype it to "Jan 08, 2022" and it will correctly move the date. This maintains the corrected date even when switching format to "dd/mm/yyyy"

philiprenich avatar Feb 23 '25 06:02 philiprenich