Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: extCal 2.40 RC-1 Released for Testing and Contributions
by edipinho on 2021/3/3 4:09:13

It worked perfectly, I was following the English language files, and there it was "/".

Mage, thank you very much for your help, you were absolutely right, you took 1 ton off my back, thank you very much from my heart and I also thank Mambo and everyone for always helping us.
Re: extCal 2.40 RC-1 Released for Testing and Contributions
by Mage on 2021/3/2 18:32:40

It is important to correct this:


https://github.com/XoopsModules25x/extcal/issues/31

as it can be a source of error!

And you really have to communicate for European date format, you have to use the "-" sign in global.php!
Re: extCal 2.40 RC-1 Released for Testing and Contributions
by Mage on 2021/3/2 18:28:21

Hello,

This problem is known and very easy to correct! You cannot use the following date format:

day/month/Year

The following format must be used:

day-month-Year

It's related to this:

https://www.php.net/manual/en/function.strtotime.php

Quote:
Note:

Dates in the m/d/y or d-m-y formats are disambiguated by looking at the separator between the various components: if the separator is a slash (/), then the American m/d/y is assumed; whereas if the separator is a dash (-) or a dot (.), then the European d-m-y format is assumed. If, however, the year is given in a two digit format and the separator is a dash (-), the date string is parsed as y-m-d.

To avoid potential ambiguity, it's best to use ISO 8601 (YYYY-MM-DD) dates or DateTime::createFromFormat() when possible.


So you have to be very careful with the xoops translation file, particularly this file:

global.php

To inspire you, we had the same problem with the FR translation. Here you will find a correct example of the dates:

https://github.com/MonXoops/XOOPS-monxoops-Traduction-FR/blob/master/htdocs/language/french/global.php

line 201, 202, 203 and 204!
Re: extCal 2.40 RC-1 Released for Testing and Contributions
by Mamba on 2021/3/2 16:29:23

Where can I find the translation pt-br_utf8? On Transifex?

Is there any chance, you could upload the Core translation to GitHub:
https://github.com/XoopsLanguages/portuguesebr

That would help us to test it...
Re: extCal 2.40 RC-1 Released for Testing and Contributions
by edipinho on 2021/3/2 5:36:00

The correct text is this above the image of the post above..

Here is the preference of the "extcal" module referring to DATA (pt-br_utf8).

Who's Online

185 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits