Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85659 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62897 invoked from network); 1 Apr 2015 19:23:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2015 19:23:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.181 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.181 mail-pd0-f181.google.com Received: from [209.85.192.181] ([209.85.192.181:33568] helo=mail-pd0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/D7-21906-FA54C155 for ; Wed, 01 Apr 2015 14:23:28 -0500 Received: by pdrw1 with SMTP id w1so56081319pdr.0 for ; Wed, 01 Apr 2015 12:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8bXmpVEaMilfS2WDH0avh5SGwAoWJsm2U8zpNq7uW/c=; b=wS2YGWs41sLW7XBia2HmAPR/sPoew1GydMOGwoqDRGDJEuF8P4kP8AZ87zsKkvCp1e 7sGWEJ34smraFCYMkukJwbYmAXppIw2Uhaf+l1GCQCYfJXWNi1uiSe91Q6awEKqXhZcg naEn8I0wwNjlF8U69Rvke4rpOaGZhSUyR/peSGnuMVGjviDgL/YsIlVgMWWFaFCV5jPA QWAV4t7/xykYWQ9Slp/aM29x/ObCq22B0+RTco71/OGwhIOcloFBTkE6tKXyBOSYQTkT LJJQWsH+SM5SYBLgPzvHFSnJDbEBI2Qizr7e0SCvJBiTL3a8tdXh51Fp6vKRzAgHXfwH ZXtA== X-Received: by 10.68.57.202 with SMTP id k10mr69635260pbq.159.1427916204579; Wed, 01 Apr 2015 12:23:24 -0700 (PDT) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id sw4sm2880081pbc.64.2015.04.01.12.23.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 12:23:24 -0700 (PDT) Message-ID: <551C45AB.9090506@gmail.com> Date: Wed, 01 Apr 2015 12:23:23 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Marc Bennewitz , Dan Ackroyd , "internals@lists.php.net" References: <551C3FC4.9050109@gmail.com> <551C4469.1000606@mabe.berlin> In-Reply-To: <551C4469.1000606@mabe.berlin> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecate setlocale? From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > This should be true for number formatting but it's not true for date > format. Yes, date format is not internationalized. There are a lot of fixed formats, so this should not be much of a surprise. One just has to know which ones aren't. And yes, handling transition between fixed and localized formats is a pain, that's why setlocale() is usually not a good idea when you use both. -- Stas Malyshev smalyshev@gmail.com