From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0C1FD3858C35 for ; Mon, 18 Dec 2023 16:07:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0C1FD3858C35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0C1FD3858C35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702915680; cv=none; b=gbg9L2Ngv8Oui3PrKTloYXEg6H7v+shzg3zU61w1X3PwtUEOO2cWcE4g3p/UkGgIBFL0oyzD8ZTX8nw0KqGgWmjdsrnJJMTfQLgpnYuqV3Lutpoqo82/I5GVq2UIoRCustB/QwTDad/Lhc1iCCSuxavv0yRVs5vzyEki7u4DCZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702915680; c=relaxed/simple; bh=D6olCLSshAnh7v6VG0XascNUSygzR/1MKgNtmUPs8MA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=V3oxW/MQj6maEB2MLAhGXzWNPirXia1AMp3biMQmkggkWtWS+nXG+kQJuwf1mS+0/Xg6MtWUrQ08xq1WcZunLanEMABDHoBjtUMxVmBL5RckMGP1kzSx5+76vrnWGC26zYKiP691UcWTqA0z+wrGKYT2JpzUKkCvW7RR0umA3V8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702915669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SzZNLbnCwlyc+hrebEaw8bPZfBPld7Lev3yOAxat8WI=; b=OJqNLgcboI836X9igamcCKKx0Qv4JJ3C7a/t7QtIMSMiQ4jpQqb/X5aRmVGv9tE88WTjd8 eX4GZxiCJ/xQFbXTnvypTQJEYv2Kxpy9h8c89Xxo4IXUko0P5X+Jw8DhBK7ySqP2EiDVuD wEmJW9VjDwuntnqUW3Yb8o8YG57pMl0= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-571-bUGMGbbYOxmafbCO9M0lcA-1; Mon, 18 Dec 2023 11:07:48 -0500 X-MC-Unique: bUGMGbbYOxmafbCO9M0lcA-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a1f93205e60so170754266b.3 for ; Mon, 18 Dec 2023 08:07:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702915667; x=1703520467; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:organization:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SzZNLbnCwlyc+hrebEaw8bPZfBPld7Lev3yOAxat8WI=; b=jb828nDCzJSbcui7oVja8sQBL9F3B9I/xmXBwGlraxbEAF6GZiubyr/Ll+fjJhJbLA IwL8vYRBaEexPtYyPuyEVDbg+HN8iVspKJywe1gW0AbtJPHbLbLu7+xaUPNO4j6+vUCo GDaI307//Vd8HEzWcJmVPyiAvshlijh6gWfCdASodBkEHUa62h5iDTNE35MfOw+nocIb gwHpin2jG6AMlojbYA1D4MIIWTWlUj5ascPtpPQvRdf0HeMffZ/8bg0yYqXfoysNI0UZ NT1wCwBW3eKH8wTC+4ttZbUBpL8ObiPNmiib53sSjgDG4AYK1ReRdFhW2xhoJyz7YslV /WCQ== X-Gm-Message-State: AOJu0YwhU6Yg6Ep+31Fn2YGoFZC29o8q76nmXslcWfMhUHr2hdBoJEpb RNWDXEPRrbC3TCt8ur3757YTqlAOaRMxXm34BCr+LcAoYCWAubEdyJ4tBWwb4CV+N81cdzg860O FqsmXrffI+Q9T+zEwdpkA8w== X-Received: by 2002:a17:906:1051:b0:a23:2a67:bf73 with SMTP id j17-20020a170906105100b00a232a67bf73mr1600467ejj.87.1702915667223; Mon, 18 Dec 2023 08:07:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtGkFQv0xwzGMyrPfXZs8Ca1B1zcX0Fn87cKr1cKTJhWe7LnHnnIeoWH4HyUv7X0Pi0DhNlA== X-Received: by 2002:a17:906:1051:b0:a23:2a67:bf73 with SMTP id j17-20020a170906105100b00a232a67bf73mr1600456ejj.87.1702915666854; Mon, 18 Dec 2023 08:07:46 -0800 (PST) Received: from hathi.site (p200300efa70fc1004d26878fe8803456.dip0.t-ipconnect.de. [2003:ef:a70f:c100:4d26:878f:e880:3456]) by smtp.gmail.com with ESMTPSA id vc11-20020a170907d08b00b00a1b6d503e7esm14210022ejc.157.2023.12.18.08.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:07:46 -0800 (PST) Received: from hathi.site (localhost [IPv6:::1]) by hathi.site (Postfix) with ESMTP id BF65680FD6; Mon, 18 Dec 2023 17:07:45 +0100 (CET) From: Mike FABIAN To: RushingAlien via Libc-locales Cc: RushingAlien Subject: Re: [PATCH] id_ID: Update Time Locales In-Reply-To: <20230821035729.9472-2-rushing27alien@gmail.com> (RushingAlien via Libc-locales's message of "Mon, 21 Aug 2023 10:57:30 +0700") Organization: Red Hat References: <20230821035729.9472-2-rushing27alien@gmail.com> X-Face: "';oPz9V1+<,`}1ZuxRv~EiSusWq*{Yjr"Sdvbhq'?q=2R\\6Y9O/,SAE`{J|6I=|w/sQg< rW_N'E3IV6~f8?\l#Es`]S`mv',PY(`8{$$R?+gLu}Qv/Mn>)?uladFjJ@yl!_p_Jh;5QxlD6zL:?r IXe4FfK$C^mWhh$o`yt;.r.FLZLQOWBt> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_40,BODY_8BITS,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Committed. RushingAlien via Libc-locales さんはかきました: > Hello! I am Indonesian, was born and raised in Indonesia and still do live in > Indonesia. > I have sent this to libc-alpha, however had received no response, so I > am sending it here. > > This patch brings a few changes to the time locales of id_ID, which > includes : > \- Defining am_pm and time_fmpt_ampm > \- Changing time_fmt and d_t_fmt to use the 24-hour format > \- Changing first_weekday to Monday > This is a squashed version of what is previously a 5 patch set > > Here are reasons and details of the changes : > > Change 1 part 1 > > id_ID: Define `am_pm` string > > Current formatting does not define am_pm string, leading to AM and PM > not being specified in 12 H time format. This change defines the string > by changing it from an empty string to "AM";"PM". > > output of `date +%r`: > before commit: 01:23 > after commit: 01:23 PM > > Change 1 part 2 > > id_ID: Define time_fmt_ampm, change from an empty string > > Currently, time_fmpt_ampm is set to an empty string, causing some > programs to not be able to display time in the 12-hour format, for > example, glib: https://gitlab.gnome.org/GNOME/glib/-/issues/2967. > This commit changes it from an empty string to "%I:%M:%S %p" > > Change 2 part 1 > > id_ID: Use 24-hour format for time_fmt > > Indonesian standard and formal time format uses the 24-hour format inst- > ead of the 12-hour format. This commit aims to change the id_ID locale's > time_fmt to match that accordingly. > > Change 2 part 2 > > id_ID: Use 24-hour format for d_t_fmt. > > Indonesian standard and formal time format uses the 24-hour format inst- > ead of the 12-hour format. This commit aims to change the id_ID locale's > d_t_fmt to match that accordingly. > > Change 3 > > id_ID: Change first_weekday to monday > > Indonesian calendar starts of the week wiht Monday, let's comply > --- > localedata/locales/id_ID | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/localedata/locales/id_ID b/localedata/locales/id_ID > index c10306deb7..5957ebaf0f 100644 > --- a/localedata/locales/id_ID > +++ b/localedata/locales/id_ID > @@ -115,13 +115,14 @@ mon "Januari";/ > "Oktober";/ > "November";/ > "Desember" > -d_t_fmt "%a %d %b %Y %r" > -date_fmt "%a %d %b %Y %r %Z" > +d_t_fmt "%a %d %b %Y %T" > +date_fmt "%a %d %b %Y %T %Z" > d_fmt "%d//%m//%y" > t_fmt "%T" > -am_pm "";"" > -t_fmt_ampm "" > +am_pm "AM";"PM" > +t_fmt_ampm "%I:%M:%S %p" > week 7;19971130;1 > +first_weekday 2 > END LC_TIME > > LC_MESSAGES -- Mike FABIAN 睡眠不足はいい仕事の敵だ。