[Isis-users] Misfunctionning in date field handling in ABCD 2.2.1 beta
Eustache Mêgnigbêto
eustache.megnigbeto at outlook.com
Wed Jan 11 11:39:35 CET 2023
Dear Fred,
I modified the file following the directives you gave, but it seems it is not working. But my current message is not relative to the date filed, but the operator and date one.
I have reported that in ABCD 2.2.1 bet (sept 2022), updating a record deletes the OD field previous content and replaces it by a new one . Fortunately, I downloaded the version of dec 2022 and installed it on another computed, with the same database and noticed that this misfunctioning does occur no longer. Then I updated the software on the first computer and the misfunctioning persists On the demo site (https://demo.abcd-community.org/) ,I noticed the same misfunctioning.
The difference between the two local computers is the operating systems: Windows 11 in the case the misfunctioning exists and Windows 10 on the case it does not exist.
Perhaps, this piece of information may help the team of developers to identify the problem and know how to fix it.
Thanks
Eustache M.
________________________________
From: Fred Hommersom <fred.hommersom at xs4all.nl>
Sent: Thursday, December 22, 2022 12:56 PM
To: isis-users at iccisis.org <isis-users at iccisis.org>; Eustache Mêgnigbêto <eustache.megnigbeto at outlook.com>
Subject: Re: [Isis-users] Misfunctionning in date field handling in ABCD 2.2.1 beta
Hello Eustace.
The date format problem can probably be solved by modifications in your configuration.
File htdocs/central/config.php contains the code:
// USED FOR ALL THE DATE FUNCTIONS. DD=DAYS, MM=MONTH, AA=YEAR. USE / AS SEPARATOR
if (isset($def["DATE_FORMAT"])){
$config_date_format=$def["DATE_FORMAT"];
} else {
$config_date_format="d/m/Y";
}
The characters of the date format are defined in https://www.php.net/manual/en/datetime.formats.date.php
So d/m/Y implies
Op 2022-11-17 om 16:49 schreef Fred Hommersom:
Hello Eustache
Thanks for your feedback.
We will dig into this in order tp find what the problem is and react on it.
This might be a 'sleeping' error, so it is possible that we send you some new code.
Regards
Fred
Op 2022-11-17 om 16:16 schreef Eustache Mêgnigbêto:
Hello,
I downloaded yesterday the last version of ABCD at https://github.com/ABCD-DEVCOM/ABCD2 and installed it.
I"m operating an existing database with 2 of the fields being data type. The first is (simple) date type (D in the FDT) and the second the date and operator type (OD in the FDT).
For the (simple) date field, when on choose the date from the displayed calendar, it transcripted into the field with the format mm/dd/yyyy instead of dd/mm/yyyy as in the previous version. I suppose that this could be fixed via the PHP configuration file.
For the OD field, I noticed that each time a record is updated the previous content of the field is deleted and a new one (the current) only is added. In the previous version of ABCD, each record updating adds an occurrence to the field.
This situation prevents tracking records modifications.
How to correct these situations ?
Many thanks in advance.
[https://opengraph.githubassets.com/2ac3f8873cd15680729c4d938c0ef20be6caf6219a57ffa2503145b0821cccd4/ABCD-DEVCOM/ABCD2]<https://github.com/ABCD-DEVCOM/ABCD2>
GitHub - ABCD-DEVCOM/ABCD2: ABCD v2.x based on CISIS<https://github.com/ABCD-DEVCOM/ABCD2>
The name itself already expresses the ambition of the software suite : not only providing automation functions for the 'classic' libraries but also other information providers such as documentation centres.
github.com
_______________________________________________
isis-users mailing list
isis-users at iccisis.org<mailto:isis-users at iccisis.org>
To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20230111/a7e96b57/attachment.html>
More information about the isis-users
mailing list