Bug 152064 - formatted field supports non garegory calendar but it's minimum value restriction prevent to fill it correctly
Summary: formatted field supports non garegory calendar but it's minimum value restric...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.4.2.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-16 05:15 UTC by Seyyed Mohammad
Modified: 2022-11-18 08:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seyyed Mohammad 2022-11-16 05:15:22 UTC
Description:
If you set your formatted text field to persian date. Then try to add something it's in form created formatted field, you can not correctly fill it with right year value. since it's minimum value even you delete it's minimum value from property->general 1800. But today we live in year 1401 on persian calendar.

Steps to Reproduce:
1. Create a table with field type of `date`
2. On table design click on format field and select `date` on category
3. And select language to `persian`
4. On `format` select 1999/12/31
5. Click OK.
6. Close table design
7. Create form with designed table.
8. Create formatted field by format settings mentioned before.
9. Add date 01/01/1400
10. It will not accept instead it will 

Actual Results:
It fills table with  30/12/1899.

Expected Results:
But must be filled with 01/01/1400


Reproducible: Always


User Profile Reset: No

Additional Info:
And thats it I think the only barrier is that it have minimum value restriction. You must just reduce that at least to 1300 or 1200.
Comment 1 Seyyed Mohammad 2022-11-16 06:39:46 UTC
The major problem was my abusing of Base, though still I thik it needs polishing. But I want to delete this bug report. I'm ask the moderator as creator of this bug to delete this.
Comment 2 Robert Großkopf 2022-11-16 07:41:57 UTC
(In reply to Seyyed Mohammad from comment #1)
> But I want to delete this bug report. I'm ask the moderator as
> creator of this bug to delete this.

I will set this one to WORKSFORME. Could be I understood wrong - so feel free to reopen.