Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h2774747.stratoserver.net (8.15.2/8.15.2/Debian-3) with ESMTP id wA19TVJN013062 for ; Thu, 1 Nov 2018 10:29:32 +0100 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx014 [212.227.15.9]) with ESMTPS (Nemesis) id 1N7j04-1fV2rm2lPu-014kQ6 for ; Thu, 01 Nov 2018 10:29:24 +0100 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx014 [212.227.15.9]) with ESMTPS (Nemesis) id 1N7j04-1fV2rm2lPu-014kQ6 for ; Thu, 01 Nov 2018 10:29:24 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.15.2/8.15.2) with ESMTP id wA19TOqn024584; Thu, 1 Nov 2018 10:29:24 +0100 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 99E061276A8; Thu, 1 Nov 2018 10:29:20 +0100 (CET) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 30686354 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 1 Nov 2018 10:29:18 +0100 Delivered-To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 323E71275F1 for ; Thu, 1 Nov 2018 10:29:18 +0100 (CET) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Message-ID: <2944797915892827.WA.kellysmith12.21gmail.com@listserv.uni-heidelberg.de> Date: Thu, 1 Nov 2018 10:29:18 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Kelly Smith Subject: Dates and Locale Management To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-Spam-Flag: NO X-UI-Filterresults: notjunk:1;V01:K0:1owIDdxX++0=:lIZepzmzPMkBWtu8mOXrcmkq8f OosyK/PeiN3Kzsbfir966DqOvxB79OR8QtF3uPkqLsZlLcEb7y9i2SaZ8C0c3+E2l3QSwTUFT PtPblAhTgACXipLuaBpqrsIxpGwgfzVNtT4BqLinfP13H1CU5NA5G3rheVt2K5ZshwUE8vSDW BuQVGwZiwboU+K2bc+1FAEKxjBirS4LOxT6m0Wt/VCr3coA1VgNr0Od4kZ/AbRw4TLXzE0ywT ytYJfF2HN9KEWffOjyuiEpJLAVg+hSrYzfMkzQatjhLmxnheqRAQhzp7jytOeFJkd9MMXgR24 5LhY86O4GjDICICGiUTyu44gqkbDq2vHlL6eIOgdIsz75bS6s/8w5K1B4Jit8EKtDmm0U8OSR 0tGf/3zbQ90JJaYhIghqnY6x1Dy4rLh2MLFXQBRJKljG812hJ1GHn28rOPoUQsuaCuWtEmigS 8/gOdMqOo8iCqufD3gYwveoBhtXdX2Mk4p+4G8b7p31bs3mBgNkFHuXibXUoxgTyBolp60BDj Pzw31MkpT4tg7UubLmvEYx+R2sFVrNub/IGD3zY8LvqeHCAsel2T0iCQ+XFd2AWLJ49pDuSBH JiwsAMPKoASGfYjK6uCbC+YgYFQOUM2OgHXpTfXJbk/80xfuothcAlhqTLiyzdmaxJc99HDtg ZW94FpWypey12Z/1CY/Y7zXhWpRJuEmOyDBpPxnJpUfph4dJWDjWjDl+lcPfWlALDN7EJ2Xki QRNqYDe2zOaaVUSpXeq5+YZO3ngG5q67WTzFJxOTblNOKnJIUB9nZe2usJJYlXUwGqwB0sXBB 7GmN9tXTc9DTg/SsAQcaPoszTMq9YOH/WMraUTE6Ps/hHSVanW2IhMVBIIZpWoKefpzmIpnwh sNBzzsI2iqg1LXD8BqXPWrVgx981k+pSwaTyGCa9k26zCfTK/rc3kqfKhVjOGCHMlbx+C7I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BkAah1gcSQOm/K0T /1PByYEA82mHxItXS7YGPt/Tm8E5GV9gZL3J1XdETj9ftbDCsPZDPk2MNfvFxxVA== X-UI-Loop:V01:MSpx6Z/EGkU=:xuc8f28VD4OsO3DXkfS/iuKSuNlQeIo/9/nMUxvMmT4= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:axHXHeRDwXA=:UWgSEElQzUQNs0AecTXohQ e8aCv16AYTA1zEs90JhaaVUK8stqyXFrZWh+1i/j1nlVlWm0glfDNqGdXWU1fFKgRJXlNmPlO gGJYpur+ln7/7hMLKqyj8NF70QUIsog70/B7Wdz7+afFag8x3hh93utiC1i6VUiVeKXZRCidK 43K2lHfJoQ6wKLg6Jv2IkRKI2F25GBrXWbfCJZfUgNKPTsuPSspKJQoqdCu42+35CmGljDbXC 0ZtrVVOlskSLPY2ka2nWUEkJWv396ed7HdZ9Gt8qHQkzsfj8k0Yk511pUiiN9vEWanOIT+cAe nzQOP+wybD3gMOYcWoK+GR6ZRvAamAjBHVos5SoPdCdEssxlrIjVaEIbLBWGlishPQDrblveT sa1qISMmkPqeapwwiwjPKBCSk/oAJ8DZ5UvA9fLJyVGLKUIvpqUYl2JHMS2+rVcbZojO5c4CZ lbgGGLy7n2q/g/O0REeHUtpJMjEkS8I= X-Scanned-By: MIMEDefang 2.78 on 81.169.212.23 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by h2774747.stratoserver.net id wA19TVJN013062 Status: R X-Status: X-Keywords: X-UID: 8101 Hello Everyone, Since I am working on the class’ title setting facilities, that means I need to work on storing and formatting document metadata (title, author, date, &c). I found myself stuck on dates. There are several options for interally representing dates, times, and datetimes, but I came to the conclusion that it is best to simply store them as strings, according to ISO 8601. This makes sorting trivial. Extracting specific fields and accounting for cases when a field is omitted (e.g. the day or seconds) can be handled with some commands that process the underlying string appropriately. I mention this because I don’t know if the team has any particular plans for managing dates and times. With the problem of storage sorted, I turned to formatting. I found that there exist 2e solutions for formatting dates, times, and even integers, thanks to the `datetime2` and `fmtcount` packages. However, I would like to develop a solution that uses templates. Formatting dates brings up the issue of locale management. Now, since this class is incompatible with many packages, I know that I will need to implement the functionality of some important packages if I want that available. Since locale can affect various parts of typesetting, it is just as well that I provide at least a rudimentary interface for locales, from the start. The (now deprecated) instance collections of `xtemplate` would have been my first idea for managing the various parts of a locale: dates, times, quotations, punctuation spacing, numbers, &c. However, collections are deprecated for a reason. I was wondering, what are the current thoughts on managing templates or related sets formatting? —Kelly