From patchwork Sun Dec 30 23:54:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 1019495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-98869-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aurel32.net Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="VtaqspKm"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43SdRW1ql0z9s55 for ; Mon, 31 Dec 2018 11:27:01 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=KpE lruQaB/AmMyag/t96vGRoonsjCdVjxeuh9F3ZhREYeqbGZAPmvoXm7B8H7DutkVF DmHS2ug2bPmfPK+hNxNY29nHgNaGivZeSTGunlA3fvG1wORteny6guYuTMku0GJ1 dgRVS6xYyWwbcKXCmxMne66e4kDc4I2iPhucJXW8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=4DDQrMIVk Xte3j5O2XaVG0D17fY=; b=VtaqspKmcQFL3M4bU1dijdfYTUcnX4XVY02WBPz1f t9QZlqkpGmdNWqK1x2pJs2i/5Zas/kCWQjxFVnlgmljTSyv97VkWnLMluWcqp1Gd DASULmeqIiARKe3nAV60RQ50tIsKFA7lcLct0PmOqnNfH2G5FjoTYgcZK4Zu6gCN o0= Received: (qmail 79915 invoked by alias); 31 Dec 2018 00:26:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 79712 invoked by uid 89); 31 Dec 2018 00:26:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=Winter, 24h, HContent-Transfer-Encoding:8bit X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: Aurelien Jarno Subject: [PATCH] en_US: define date_fmt (bug 24046) Date: Sun, 30 Dec 2018 18:54:37 -0500 Message-Id: <20181230235437.20485-1-aurelien@aurel32.net> MIME-Version: 1.0 The en_US locale use a 12h am/pm format in both d_fmt and d_t_fmt, which is correct, but does not define date_fmt. This cause the default value to be used, which is in 24h format. This patch adds the date_fmt entry to the en_US locale with the same value as d_t_fmt as the latter already includes the timezone. Changelog [BZ #24046] * localedata/locales/en_US (date_fmt): Define. --- ChangeLog | 5 +++++ localedata/locales/en_US | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index a2170167c7..8f90d99290 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-12-31 Aurelien Jarno + + [BZ #24046] + * localedata/locales/en_US (date_fmt): Define. + 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de> * hurd/lookup-retry: Include . diff --git a/localedata/locales/en_US b/localedata/locales/en_US index 5e2b365659..2c808bbfb6 100644 --- a/localedata/locales/en_US +++ b/localedata/locales/en_US @@ -117,6 +117,9 @@ t_fmt "%r" % Appropriate AM/PM time representation (%r) t_fmt_ampm "%I:%M:%S %p" % +% Appropriate date representation (date(1)) +date_fmt "%a %d %b %Y %I:%M:%S %p %Z" +% % Strings for AM/PM % am_pm "AM";"PM"