From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uJmTKWV/gWHJBQEAgWs5BA (envelope-from ) for ; Tue, 02 Nov 2021 19:11:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2LZLJWV/gWE4KgAA1q6Kng (envelope-from ) for ; Tue, 02 Nov 2021 18:11:49 +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 05BB120C49 for ; Tue, 2 Nov 2021 19:11:49 +0100 (CET) Received: from localhost ([::1]:51686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhyGB-0005l5-2t for larch@yhetil.org; Tue, 02 Nov 2021 14:11:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhy5r-0006Xz-Q3 for emacs-orgmode@gnu.org; Tue, 02 Nov 2021 14:01:09 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:36402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhy5l-0007Jo-53 for emacs-orgmode@gnu.org; Tue, 02 Nov 2021 14:01:06 -0400 Received: by mail-wr1-x42c.google.com with SMTP id s13so27462105wrb.3 for ; Tue, 02 Nov 2021 11:00:59 -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; bh=IKaAxWpVp3fFKMVOtYoGv6e4h04ZmHZruE0hrCG4cWU=; b=C7DoDoCYyC3lD+xhe+QX7zZf9vh2QScMdLxaddW/1SJBE2Hc5NUU9YHWY7bHUKY+vo nO8DYRLLfyYs4OwEmpHnU0soTwNcgCGiseoR/IB2Krbmf3OcqeGAX6o+fvNcISruf6fL pa8A1C/8l/DeEbMBlU8LgG6D7HzjpNKerQkxnri/o5hYUk+GmEUcwfvXqNTo7dbiUH7g SM9Q7YQ30DJlmqTk/sno4WguYpVhkm7vcmWS4Y+pxOLm2yGUc+tlHAkTqPkckcaqvDN7 RVi87Hd52/s99oj+zQ454xd8OptC/AHDCIUbuxWCvXyidBuFUeSOJD9fecnty5FoW+Wf //8Q== 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; bh=IKaAxWpVp3fFKMVOtYoGv6e4h04ZmHZruE0hrCG4cWU=; b=scb0wkhBtbaUVRa5rUO+XObVO8GbKB3eMtivORN3lpCHEl1HI6lJxGvbBp0dlPRBbZ 6wR3lhNWo129tRcvZhYYIWC7W4oBtQofqGY6zDM2uVLJ0kXWeBvAfSH+Y8ywSQpknOqE HVs0oAEPRV/vP7RbSRIKsXgfJJr7Hx+l1MtL84r4fqzoXSEzuLGkfabOBlgnyxHcxZVH 3F3T+tuWZMifrg2Czeu4klykmBYpw/IiuVg888Gw6N5Yd76L76xKuMBQi/yxuub/rBjf OZPW5drZvGzltfDEk77UAdnkEojLz2INKBZJohU9VE+ck8wCyK+heMppGkGCms/CMrjD a40Q== X-Gm-Message-State: AOAM530Ul1P5oM+gyFOvFZBxZjb6zPN9yonxG4/aGIM5sUpOqIWe43Ke SXhpaPt23PHUAsMrAwDnF22AfEfD7BeK+2g5sCI= X-Google-Smtp-Source: ABdhPJxXNtNw/Xe/mDN8FR7bEVKn7AmwUhqyH2dfQZykdzWJ1bhJpJhldCJx2Tvla6+XcWNJjbo7W2rv+pzfMN+w0CM= X-Received: by 2002:a5d:5850:: with SMTP id i16mr22646119wrf.410.1635876058371; Tue, 02 Nov 2021 11:00:58 -0700 (PDT) MIME-Version: 1.0 References: <877ddqwiyu.fsf@nicolasgoaziou.fr> In-Reply-To: <877ddqwiyu.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Tue, 2 Nov 2021 14:00:47 -0400 Message-ID: Subject: Re: [PATCH] oc-basic: support biblatex date field To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x42c.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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email 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=1635876709; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IKaAxWpVp3fFKMVOtYoGv6e4h04ZmHZruE0hrCG4cWU=; b=ddaInsq7j0CAlkPGe/jvEt/3YO+hL2UtT2xlLgW1el/9SoqKk+nLT24y9I8vig37SGF4Er 2Uqefhocgo9dz6KEka+HUYyD8uYSfmL1U48z6PWkSVRU6Ag9Idnfq3pZWfb7ITqHa+S8b1 qAklysbAl086MIJRbkW3olmjATd7m7o4atvImYirIr0OAIUjOBat7HU0MLu77Fdu7gny2A KJzBZW88sxEwdMoEYvd2WRmTtdoTOHXmZo80sI9nIcl1r+/NmHINgq9khaQBRgNNomiIJt CbTw+W/idmNoQvKjyIN6T3MmagGAadNyqfm2T82/ugfLh+pEsEX7+uffpZ16Mg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635876709; a=rsa-sha256; cv=none; b=t1A6bOW5trfF7omAQbh0Es7pvfF7V3Bb/VftVj/OChfUEw6nGBHsbT7sFRqWb+QWYrHc2V SMDS7MEUykCDtgjGN7306g5m+B/UJn4uYXo0Htt65gD0GO2kH98FUKHabUSJsgL7PbSoBO iIzae6bE/Ofvva5omGcZohpsOkfbB5ahiH+aqeqdjZDqjKkl8sNu9YIGQ6uL6/z6J+bCvX IkhnUHX4lAfDT1dk/F5OjU9TsOXGEyWZ6US77nZiCwNNgJB//zBEMSiRtH1x4yLL6LUP27 +j0b5w+LH0n+elKfcBGBi4VHiwIZmaO6uj02KTC172DS9HMC5L3/JTMSoSTfxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C7DoDoCY; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C7DoDoCY; 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: 05BB120C49 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y70h9blXgDTq On Tue, Nov 2, 2021 at 1:44 PM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > This is a tiny change that just checks for a 'date' field if 'year' is > > nil, and if present, grabs the first four characters. > > The date field may also be nil, leading to an error. Can you please fix that, if the patchis otherwise fine? > Is there a guarantee that the date field starts with the year? Not 100% guarantee, but should be close. The biblatex manual (section 2.3.8 Date and Time Specifications), says the following: "Date fields such as the default data model dates date, origdate, eventdate, and urldate adhere to iso8601-2 Extended Format specification level 1." This is an extension to standard 8601 dates, previously known as EDTF (extended date-time format). So for the vast majority of cases, yes; the value would be standard 8601 dates. The exceptions should be very rare open-ended ranged dates; from table 3. ../1997 /1997 I do not, however, have a good knowledge of what people do in the wild. It just seems like such a critical data field should be supported. Bruce PS - FSF confirmed my copyright assignment today.