From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cHFWBCDpe2G7IwEAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 14:29:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SGZ/Ox/pe2HeNAAAbx9fmQ (envelope-from ) for ; Fri, 29 Oct 2021 12:29:19 +0000 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 80D8B298B1 for ; Fri, 29 Oct 2021 14:29:19 +0200 (CEST) Received: from localhost ([::1]:49270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgR0Y-000150-2Z for larch@yhetil.org; Fri, 29 Oct 2021 08:29:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgQzD-00014f-Il for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 08:27:55 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:35783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgQzB-0002Wb-Ib for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 08:27:55 -0400 Received: by mail-wm1-x331.google.com with SMTP id 207-20020a1c04d8000000b0033123de3425so1943232wme.0 for ; Fri, 29 Oct 2021 05:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=/BBFnFiXyVzmpZmWaC8jj96jqsAXalr2rsQU3msYbtA=; b=ZwXYUs37HDfOs5BPxRBSHG3Or/f3gdfflrT25xeXNzG/Tpm5HF0W6PHOTdNS/rpREn 4dXXSt9SCjown1UuYY4Wea50QZEzdTogR+igJrbgyC0xRDe0r3sPj3tkXUk357PO1K0G QYh3UwwuK57BKoaPNUNhaXkhdMISwYTUKIFhkGrHnK0fPkK3EVWfVbonkWoOeUd88Mi2 /8gHPcDPZD1ayEgjkPZRumu/0Hfwa4UKNjI326nSqV7tD7dK2eArWjmsTFLJ5ZOWFiuj /gXZGjM/nNktBKSq6Rd3nzbMJWist/au3l4hnHFWzT9muX2JAwG09MDO6PdrESz/zGUn ljPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/BBFnFiXyVzmpZmWaC8jj96jqsAXalr2rsQU3msYbtA=; b=TkgxJoe3tPbJXmd1W1+bMcxoXJUnd0wnmDeI2pxt/v6w4hzJsa5lh0Ljn/cUD2ymdg gkctlYAKW0BLwQW+EYnatWsc0R1SbHBIXYCSiXqvobRb7KNHx8kxxf+Z4IdYeZ3XPL8n mo+3QMY958I+w7ra+vq5gn/318vCjRBuYABJWcgie2+8bAgY2A87b5h57r/Q1iiPu8QG pcNfNOVRYLaOS5QLCIkqd2EOByxbhiCagOnTI+7DsHnx7BNe7oMdVK90v6FP8362EQus hUzl+IwydmA0u4uilu6cZBbyuWQwRHgV5Je72ZfHLh2geB/qxj1525F1jjX3dm+GarUm gLaA== X-Gm-Message-State: AOAM532cHKkBWvgLpV1HUmqTw/G9YQa2W56OryDbOPuhuVl41uZh1v3G axcN/PHv8E4QNJYwt//SWr05LwhaGKtV62ZGxM4XM83OvjI= X-Google-Smtp-Source: ABdhPJxUqBZ6m9YhD4zDgkZGCLob3pWIOsf08mqc3t7V33IbpQp6656UkJwWFlBHq7QIx1TwGAQOIyEQQhcspCs5jtE= X-Received: by 2002:a1c:c90f:: with SMTP id f15mr11084302wmb.78.1635510470765; Fri, 29 Oct 2021 05:27:50 -0700 (PDT) MIME-Version: 1.0 From: "Bruce D'Arcus" Date: Fri, 29 Oct 2021 08:27:39 -0400 Message-ID: Subject: [PATCH] oc-basic: support biblatex date field To: org-mode-email Content-Type: multipart/mixed; boundary="000000000000a30f6105cf7cf493" Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x331.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635510559; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/BBFnFiXyVzmpZmWaC8jj96jqsAXalr2rsQU3msYbtA=; b=g2QHLVJ9rS8e4U+34slHdqclGylS0tGu/wWVNY0iK4pKF3Cnx1ZgJKMofWhZCcqkriSbv8 5JIcEaUSgETdj4gh4FYjw+OuvifneUnwuCIEkhutJON74jN1bQgKyMbb9ZRk7WqZufd2ru /K+EnN/3QB/RzxKGgH0nDSUbWCdzVv7aNf2OaND78nr71y2Vutn0EiNRAICQzpM4/mIaJ+ kGLN32z667GuCBxUIWflGEDekqmtnqvtkY86BI7aNNxGSarA5WASDPXYkVHmYKnCLtvLg1 Et0rO759Q2fjeJ8JWPjqAS0eDkF3TjD0N2fycQrcL4fqd66jFc3/kCVl4H/gow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635510559; a=rsa-sha256; cv=none; b=OM8Tm1ETx+u2RiazuRf+dEI/hYJg2jFthdsO7TOru+0QJXmA4fIfX4+ReIx6HguZh1dUti pM5zQ6UYIrFUO6e+vpplnO+F55nk/u+eH5076V6lVRA0aIBrzYOqYJd/BoPubjJNR1755z vXpNuUovDoe74ZE42/EiUp4aiWqC8rYo4i5M47NRLUTmT+0XQCM7/NOY1Atgy6xG0j6EMW mJ+9QZILQ7Qqzb6GT4Ywza7RofQhQ3HGb30c9r71V83aFicuWfx3mXkAHWevRly1Q4SatY wDI71/xa81Z8GpFes3vTbezPpLsxQtq23SC0NgkBT4jwQ5tK44rPP/2C1MEh+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZwXYUs37; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZwXYUs37; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 80D8B298B1 X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4llYSAfRVytO --000000000000a30f6105cf7cf493 Content-Type: text/plain; charset="UTF-8" This is a tiny change that just checks for a 'date' field if 'year' is nil, and if present, grabs the first four characters. Bruce --000000000000a30f6105cf7cf493 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-oc-basic-Support-biblatex-date-field.patch" Content-Disposition: attachment; filename="0001-oc-basic-Support-biblatex-date-field.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kvccokf40 RnJvbSBmZWVlMmNhNmQ1NGQzNDk1MDUwZGUzMzRjMjU4NDM4OTUwNDk0MzcyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBCcnVjZSBEJ0FyY3VzIDxiZGFyY3VzQGdtYWlsLmNvbT4KRGF0 ZTogRnJpLCAyOSBPY3QgMjAyMSAwODoxNzo0MyAtMDQwMApTdWJqZWN0OiBbUEFUQ0hdIG9jLWJh c2ljOiBTdXBwb3J0IGJpYmxhdGV4IGRhdGUgZmllbGQKCiogbGlzcC9vYy1iYXNpYy5lbCAob3Jn LWNpdGUtYmFzaWMtLXByaW50LWJpYmxpb2dyYXBoeSwKb3JnLWNpdGUtYmFzaWMtLWdldC15ZWFy KTogQ2hlY2sgJ2RhdGUnIGZpZWxkIGlmICd5ZWFyJyBuaWwuCi0tLQogbGlzcC9vYy1iYXNpYy5l bCB8IDggKysrKysrLS0KIDEgZmlsZSBjaGFuZ2VkLCA2IGluc2VydGlvbnMoKyksIDIgZGVsZXRp b25zKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9vYy1iYXNpYy5lbCBiL2xpc3Avb2MtYmFzaWMuZWwK aW5kZXggMWEwMWVhNDA4Li4xYzU2MzQzNDEgMTAwNjQ0Ci0tLSBhL2xpc3Avb2MtYmFzaWMuZWwK KysrIGIvbGlzcC9vYy1iYXNpYy5lbApAQCAtMzQ1LDcgKzM0NSw5IEBAIHBhdHRlcm5zLiIKICAg OzsgdGhlIGNpdGUga2V5LCBhcyBhIHN0cmluZywgYW5kIFNVRkZJWCBpcyB0aGUgZ2VuZXJhdGVk IH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JnLWNpdGUtYmFzaWMtLWdldC1maWVsZCAn eWVhciBlbnRyeSBpbmZvKQorICAgICAgICAgICAgIChzdWJzdHJpbmcgKG9yZy1jaXRlLWJhc2lj LS1nZXQtZmllbGQgJ2RhdGUgZW50cnkgaW5mbykgMCA0KSkpCiAgICAgICAgIChmcm9tCiAgICAg ICAgICAob3IgKG9yZy1jaXRlLWJhc2ljLS1nZXQtZmllbGQgJ3B1Ymxpc2hlciBlbnRyeSBpbmZv KQogICAgICAgICAgICAgIChvcmctY2l0ZS1iYXNpYy0tZ2V0LWZpZWxkICdqb3VybmFsIGVudHJ5 IGluZm8pCi0tIAoyLjMzLjEKCg== --000000000000a30f6105cf7cf493--