Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Feedback to: Textpattern CMS 4.7.1 Released
Please provide any feedback here related to Textpattern 4.7.1 Released.
We appreciate all feedback. Please check the issue queue before raising a problem.
Offline
Re: Feedback to: Textpattern CMS 4.7.1 Released
If you want to give 4.7.1 a spin in relative safety, the demo site is up-to-date:
Offline
Re: Feedback to: Textpattern CMS 4.7.1 Released
Updated from 4.7 without any visible problems yet
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
#4 2018-07-13 00:30:21
- testdeputy
- Member
- Registered: 2011-05-29
- Posts: 29
Re: Feedback to: Textpattern CMS 4.7.1 Released
function safe_strftime is no longer valid with 4th parameter “nl-nl”, should be “nl”
Offline
Re: Feedback to: Textpattern CMS 4.7.1 Released
testdeputy wrote #313005:
function safe_strftime is no longer valid with 4th parameter “nl-nl”, should be “nl”
Is this appearing as an error? If so, where and when?
Offline
#6 2018-07-13 16:18:28
- testdeputy
- Member
- Registered: 2011-05-29
- Posts: 29
Re: Feedback to: Textpattern CMS 4.7.1 Released
gaekwad wrote #313020:
Is this appearing as an error? If so, where and when?
some custom code between <txp:php> and </txp:php> tags
//variables
$month <varies between 1 and 12>
$year <varies between 2009 and current year>
//this worked OK before upgrade to 4.7.1 (Txp 4.6.2)
$period=safe_strftime(“%B %Y”,strtotime($month.’/2/’.$year),0,“nl-nl”);
resulted in month (full, in dutch) year
//after 4.7.1 upgrade results in month (full english) year
//below works OK after upgrade
$period=safe_strftime(“%B %Y”,strtotime($month.’/2/’.$year),0,“nl”);
OR
$period=safe_strftime(“%B %Y”,strtotime($month.’/2/’.$year),0,“nl_NL”);
possible cause?
file: textpattern/vendors/Textpattern/L10n/Locale.php
missing entry in protected $locales = array(
‘nl-nl’ => array(‘nl_NL.UTF-8’, ‘nl_NL.ISO_8859-1’, ‘Dutch_Netherlands.1252’, ‘nl_NL’, ‘dut’, ‘nla’, ‘nl’, ‘nld’, ‘dutch’),
);
Last edited by testdeputy (2018-07-13 21:11:59)
Offline
Re: Feedback to: Textpattern CMS 4.7.1 Released
testdeputy wrote #313023:
missing entry in protected
$locales = array( ‘nl-nl’...
Not so much missing as the fact we don’t pre-process the locales names through validLocale() first to translate them from the full names to the short names when we do setLocale(). Maybe we should. Anyone have an opinion on this?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline