Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 72264 invoked from network); 28 Jun 2006 18:23:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2006 18:23:06 -0000 Received: (qmail 75836 invoked by uid 500); 28 Jun 2006 18:23:06 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 75823 invoked by uid 500); 28 Jun 2006 18:23:06 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 75812 invoked by uid 99); 28 Jun 2006 18:23:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 11:23:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 11:23:05 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4A15410005 for ; Wed, 28 Jun 2006 18:21:29 +0000 (GMT) Message-ID: <24625318.1151518889868.JavaMail.jira@brutus> Date: Wed, 28 Jun 2006 18:21:29 +0000 (GMT+00:00) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-223) [Windows] std::time_put %c time format specifier not implemented MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [Windows] std::time_put %c time format specifier not implemented ---------------------------------------------------------------- Key: STDCXX-223 URL: http://issues.apache.org/jira/browse/STDCXX-223 Project: C++ Standard Library Type: Bug Components: 22. Localization Versions: 4.1.2, 4.1.3 Environment: Windows Reporter: Martin Sebor Moved from the Rogue Wave bug tracking database: ****Created By: sebor @ Apr 29, 2003 01:34:21 PM**** -------- Original Message -------- Subject: puzzle Date: Tue, 22 Apr 2003 12:31:46 -0600 From: "L. Nicoara" To: Martin Sebor This program prints A - Windows, VC7 (also 15d). Is there anything obviously wrong with it? Liviu #include #include #include #include int main () { const char* fmt = "%c"; tm t = tm (); t.tm_sec = 0; t.tm_min = 0; t.tm_hour = 0; t.tm_mday = 13; t.tm_mon = 8; t.tm_year = 67; t.tm_wday = 3; t.tm_isdst = 0; typedef std::ostreambuf_iterator iter_t; std::locale loc ("C"); std::ostringstream os; iter_t os_iter(os.rdbuf ()); const std::time_put& fac = std::use_facet >(loc); fac.put(os_iter,os,os.fill(), &t, fmt, fmt + std::strlen (fmt)); std::cout << "Date-time : " << os.str().c_str () << std::endl; return 0; } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira