From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OBBDLlaDsGKwIQEAbAwnHQ (envelope-from ) for ; Mon, 20 Jun 2022 16:25:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GGhRLlaDsGJJJQAA9RJhRA (envelope-from ) for ; Mon, 20 Jun 2022 16:25:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7BDF411E28 for ; Mon, 20 Jun 2022 16:25:18 +0200 (CEST) Received: from localhost ([::1]:34468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3IL7-0003uy-II for larch@yhetil.org; Mon, 20 Jun 2022 10:25:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3IKR-0003qB-Ic for emacs-orgmode@gnu.org; Mon, 20 Jun 2022 10:24:35 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:39720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3IKP-00019v-SP for emacs-orgmode@gnu.org; Mon, 20 Jun 2022 10:24:35 -0400 Received: by mail-wr1-x435.google.com with SMTP id k22so8476443wrd.6 for ; Mon, 20 Jun 2022 07:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=b6KMiST1Y78ellGIPQJxbc1UNXcBcvkJ1izl2eR7xYg=; b=k3aSVlgQ5Bx496cEtr7YckAmpRPqda3JggR5eaR731OcqINF0+PdhwsvAtIL3Z2WFV qIJgIEMZrZvLBYpXNF1emnf7QR5ykJgysWPq+HklGJEpHp5o0QBGicVDh7teIcgGx2XC bJV/YHWiSIZu+xzL1qcSb/RgTccRz5dqJJ8FnFpRMFj2nTPwFjIAdvOfhM3HhGOqePop pMQJ6MxmsKs3xHQLEkHeFLCYeU/RBAwmAWtQL6xryk0kA/3hNOKz6IYHVchlmxMeYtDo gCePNfzTpbyRiM5bsw1eaOEulmesvS2znWq5615b02pBD9vJWO8sMKJrBwpy2DNjZvNT 35/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=b6KMiST1Y78ellGIPQJxbc1UNXcBcvkJ1izl2eR7xYg=; b=MEwc0qE+EzqmxlPBEtAJaRH27dbZx55NGSJEJd0zYKkJswYlS+mR4YwNPI6p3VM/F4 qeZNYYXARpz+oXOmo2jjpeZ2exbtiP9ZiD1wNFHtfWFJrsGFyOYJGvj+wFakhbsx3qi6 p1DZnQokC7oYTAxhtnv3Oq2x5oVQ1kmoDx35GrmV3zPdJpcbyoSqt9+aG2LEPZX5BMbi ESEAKtNcuAPRRTqNWssIonLiZp3/n+NdKjJ/4KeWTq1J3LfIWa5/w5vyv4u6KBAK1zZh E83/PDgV2LsXivBF/w3SNBytEutNnLlvY2rpUWhbT0KxGI1oxpVhjcl1SJ5Bd5emEbpl DExQ== X-Gm-Message-State: AJIora8w7UXlc+D+D6R+kHzPJ2qqpSmSryCnOqTmxub7CpQ7fX45pnT2 LQFjONc0ibs8efqryA4DRczrzXgidhQPACfClNM= X-Google-Smtp-Source: AGRyM1sADgZ2uU0Om7x7t8W43ZiJWYBCGzWCPq2dI6PK5d3V1BqUOy62ahmtOm4Oq4SOG+c3RLyjHzNUzfkZAD34rBY= X-Received: by 2002:a5d:5984:0:b0:219:e396:d3d1 with SMTP id n4-20020a5d5984000000b00219e396d3d1mr23446200wri.701.1655735072129; Mon, 20 Jun 2022 07:24:32 -0700 (PDT) MIME-Version: 1.0 References: <87h74h4ecd.fsf@localhost> <8735fz4k0i.fsf@localhost> In-Reply-To: From: "Bruce D'Arcus" Date: Mon, 20 Jun 2022 10:24:20 -0400 Message-ID: Subject: Re: oc-basic: CSL-JSON year as number vs. string (nativecomp?) To: =?UTF-8?B?RGF2aWQgTHVrZcWh?= Cc: Ihor Radchenko , org-mode-email Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655735118; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=b6KMiST1Y78ellGIPQJxbc1UNXcBcvkJ1izl2eR7xYg=; b=hcx9FuSNeiJllXVQNMl/vROjC+R0ig13WMVeLQWaNGQhg+jH59KvScpB2WBa3EhbA6wA0X oDLeufmQPgHcxme3JjOpLE8PvB2e9T/e84gKN5G/gw2nbx7PA0gdOHyhgaqJLBu5feJXFN qarFCAenvkZavEmIhnmB9nMvZ0zQFlPKCXpeu4lVOtGAFwyxXCvUczzOtCDUCiC161EYPo qwXybr96a9wAewwnRcaRf0XbLDPrQ8YYhQgreOqInToxKvXIijqpAxHKIpn45cLEV37FaD yV1+0Erm7w6U4TU276WJuMdZSztoaLM+X15KcAQGN32elJir1N4T0/2ge4MlUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655735118; a=rsa-sha256; cv=none; b=Vs3gAChQHFhvK3NYf3TWtZA9NXDGfdD/rGtGbOIrCCS4xMbLjyGfW8KfQ/AbmaEXw2UIb2 nzVvyhvp9Fj0rhvOZBQeh0c1FZktuKfvUvBSqRtf26r8wkuxCC9Ab5rUn5/mtupmopbxx5 uf5JDwp7wZcvT2kJXJ7/MdOZry10GBZdKi+iX5N72UQkk3oi90bIvbjqRuA0/2AmLxZqID PoqYEDhto3Ml3D2CUDh7A3yPSaq92slyfbY80bMUCiKgu7hXfeRg/QGTjpY70Psw670Oah b+xPoCIPd9tZCK7mfk02WLKpndmfiUOaW69NkAdhgSXwuDYxVJEVmiR6sNCKsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k3aSVlgQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.47 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k3aSVlgQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7BDF411E28 X-Spam-Score: -7.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: 622ImJCGOdL2 On Mon, Jun 20, 2022 at 10:13 AM David Luke=C5=A1 = wrote: ... > > it's likely we'll change the date property to prefer an > > EDTF string > > Will that be stored in the `raw` or `literal` field? In that case, the > current implementation should work with (not too wild) EDTF strings. > If not, code will have to be added to extract the value from the > appropriate field. I need to emphasize a major caveat: this is subject to change, discussion, etc., and would take time regardless to see in the wild. So you shouldn't do anything with this information ATM; I just mention it because it may be relevant in the future. And of course, we welcome feedback. But currently, the draft schema for the next major release allows this as an option (this is an EDTF date range): "issued": "2020-07/2020-08", E.g. a (preferred) EDTF string, OR the current date object. In general, I should add, there are some competing priorities here. The CSL JSON was first created for the citeproc-js project, whose initial and primary consumer is Zotero, which embeds that data in word processing documents. In that case, machines are the only consumers. But it's since become more widely used, including in pandoc, and now in org. So the planned move to EDTF is in part to balance those priorities. But as I say, we still need feedback from the different constituencies. Bruce