From patchwork Fri Mar 1 19:27:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Yan X-Patchwork-Id: 1050397 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-100363-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=archlinux.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Ego4jJ2C"; dkim=pass (4096-bit key; unprotected) header.d=archlinux.org header.i=@archlinux.org header.b="j/I1ZInn"; 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 449zwH4khfz9s00 for ; Sat, 2 Mar 2019 06:27:59 +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:in-reply-to :references:mime-version:content-transfer-encoding; q=dns; s= default; b=Y/Pah+B6QrzU2fvVdeWExnfOryZiNe6a58sQVgolZhxQGR4S4FYDp TBLGKo+TRdXsoI0KIiapsxw4ziiv6syNHybg58j2m5Y/hgLWM8SJ5MuDYeEORJcd ouKNWuJeNztEcMk9AWJ7jAnMWWDAqCETCTBZSg3vGKJhurFJguVXT8= 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:in-reply-to :references:mime-version:content-transfer-encoding; s=default; bh=JtL65yWicN+b53WcSq7GFsvAP8w=; b=Ego4jJ2CI5mGyQH6c9unG4RBUB0d 1X0Qfo4BY/nGCNuPv3OuwIwX7/4si+KZqRSJRJLKU3N1ZhjQunU7zLuP7725+COZ KTv/tfU+adtBlOtrj5GNxG8jHUzoOuzOR0feWXHPRWhLhoZKW4MIMmRcBV2mt834 N0hRcPGILttNkiw= Received: (qmail 2639 invoked by alias); 1 Mar 2019 19:27: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 2625 invoked by uid 89); 1 Mar 2019 19:27:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.2 spammy=Taiwan, taiwan, H*r:sk:server-, government X-HELO: orion.archlinux.org X-Spam-BL-Results: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=orion; t=1551468467; bh=kpaEV1j3zOZhs+lUJpeBUGqFulgx8+7mY2nOowOLqWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=j/I1ZInnt+15XhAAEnKGxfNZoBvmFuTyyFH6VWEHgJ8+KuQh9K+GSP/Wv16BJ/OnQ x6YqXXOYVC3J5EyDuGqTmrwqL2gMSFplGePMw3ksyDbtqWNptVha9BfF4MocsEvozQ xu76XWi5aYBzPdQpj8QiSWFZPmx7QhnES4LhkLbgoJ+G6C31McuIAvUQmXAJ8dvrxN 0o0EdschRIGCPvWoG04ReEYB5LD1znDE3NHAvitVAu9IlUWMU0U2mDRFbiSjU5g5pu jwvLu+9Y9CUzo89WR25BkQs21aEYKnnxNnyUe4DwUnTebK63KMHPv3ZCv7k2FJl5sJ nBGRNITUQ5VkBUIHcKz3BGePtb4VmU9GfScEg1SizghAeoxhLnrZ3UUhpM3q1SRLbv 4JHp8Ha8R4SLUODyN64EJAt5xdQcHvyaesXxzNSi6wWMnwFMes5NtgQjZNax3DfRDm zrzt90fCXTbdtG1rwYKtOBhffka28fSsnnWM2I2xeEHOPhEnFxuo//6PeTCIuO9moV M3i5Oo3CR+pQoeTPvc67uiU/ouQ8ob/DBN/yxoy2j2602/XaMSaHPU4PnuQM4432j7 8U7Alx0WhSNfbrpK+6sdaVEwUq2PkLJEobAhdWoop+tb4UhUiJ8X8l0/KWZE7qEHSW tIrEKNXD9fYiD57l+BUod3qI= From: Felix Yan To: libc-alpha@sourceware.org Cc: Felix Yan Subject: [PATCH v2] localedata: Add Minguo calendar support to zh_TW Date: Sat, 2 Mar 2019 03:27:30 +0800 Message-Id: <20190301192730.10959-1-felixonmars@archlinux.org> In-Reply-To: <20190213105150.9323-1-felixonmars@archlinux.org> References: <20190213105150.9323-1-felixonmars@archlinux.org> MIME-Version: 1.0 Minguo calendar is the official calendar system, and very widely used in Taiwan, it would be nice to have the support in glibc. Some background information: The government website (www.gov.tw) uses it without the prefix, popular public services like Taiwan HSR also uses this calendar system. Link to wikipedia: https://en.wikipedia.org/wiki/Minguo_calendar --- localedata/locales/zh_TW | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/localedata/locales/zh_TW b/localedata/locales/zh_TW index 92b04b083d..b869dec317 100644 --- a/localedata/locales/zh_TW +++ b/localedata/locales/zh_TW @@ -126,6 +126,10 @@ am_pm "";"" % t_fmt_ampm: "%p %I%M%S" t_fmt_ampm "%p %I%M%S" week 7;19971130;1 + +era "+:2:1913//01//01:+*::%EC%Ey";/ + "+:1:1912//01//01:1912//12//31::%EC";/ + "+:1:1911//12//31:-*::%EC%Ey" END LC_TIME LC_MESSAGES