From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cIjLHf12pmNqQwAAbAwnHQ (envelope-from ) for ; Sat, 24 Dec 2022 04:50:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YPzGHf12pmP1UgEA9RJhRA (envelope-from ) for ; Sat, 24 Dec 2022 04:50:21 +0100 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 3B7C52A745 for ; Sat, 24 Dec 2022 04:50:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8vXE-0005lb-IW; Fri, 23 Dec 2022 22:49:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8vXD-0005lT-5L for emacs-orgmode@gnu.org; Fri, 23 Dec 2022 22:49:19 -0500 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8vXA-0005Ol-K0 for emacs-orgmode@gnu.org; Fri, 23 Dec 2022 22:49:18 -0500 Received: by mail-ed1-x52e.google.com with SMTP id u18so7898762eda.9 for ; Fri, 23 Dec 2022 19:49:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=EatCUj/35p6dW6G99TDkC+Sp3nX1hiAKemVeXTfKDz8=; b=gypGplVS3i90bthHNIa4WeC2RrjgDONYEev77i8aHGi4nuZgqJMwGB97K8gp0njPBZ qdR+QGlqelyBzCs8eYT70mAeJ0xYBzvzQf3wndcvKcyfL1/0ihi8RRdAyHjE+MsBxUe4 pfHwBcQZrLPYzcHVMCabEk9nMvddQeDsmHam7dM9QtyZJukxRbW5LKCMByiifZqT3pw7 DhyUHs889bUMtjtf9P/CEExZzbfcNEdXDEhCdD1DxN+t8eqnMCh9R44Q4OL+xPfcNRKz bQfaIkrvDQjgMZxtAR9WZVPr1ButLlrRCtxfMzsgWq+n6tn/EpwVlAdpdvlWW8UQ1xvN lBvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=EatCUj/35p6dW6G99TDkC+Sp3nX1hiAKemVeXTfKDz8=; b=Meri1eExGO/yp2kC3R3op/D8zslENBwHwgQ5aZS1e5SyZlvSlDofiLYe1ByWwVj9Ni f527hmbgzQ4YVDBw6emZhKTSFdYfDmZuCp7F2u8dtKjwJQ2PfkTZKuTwiWQOX8GKyEm8 4FUR/oBMROKjSQ2o/cdaUJpQdvZhjCftvDtJchJRSPSYnFFspFiPQhBMFIy+aW0A7wjD eV/8L3Mr5LBb6aqmHie5z1/s/NeurkUQLuUl41oQDfCvkS59noJSZoM/yXU0aPxCmBoS uUlR+5+QiM37hMAPWEGGoyOGSTD/BW+yd10mcSEpAMniXT9UOkIXmRcvIDI125wj4/xc J9Qw== X-Gm-Message-State: AFqh2kpvUuyPQlDaBHQa9UZePdxn++9AWHk7eQJzjm2O3CDntCzH+OrE fTmnt6jNEKWd5xkCMol4K5Hk9mx5KUD+4lCxrDIRemjc6b4= X-Google-Smtp-Source: AMrXdXs4rOpOSMDFCMzrYm18PeB4bj1ixkK+D5DbYN7mwUBkVz+4ooTMQt/tDMwLKZZHueSpNdQz4i//r37vJbtnoHY= X-Received: by 2002:a50:fb12:0:b0:482:a5c9:b357 with SMTP id d18-20020a50fb12000000b00482a5c9b357mr311393edq.139.1671853753984; Fri, 23 Dec 2022 19:49:13 -0800 (PST) MIME-Version: 1.0 From: "David O'Toole" Date: Fri, 23 Dec 2022 22:49:02 -0500 Message-ID: Subject: CSV agenda export formats some day and month values as single digits To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000001f694c05f08ac935" Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=deeteeoh1138@gmail.com; helo=mail-ed1-x52e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671853821; 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=EatCUj/35p6dW6G99TDkC+Sp3nX1hiAKemVeXTfKDz8=; b=Qsk/RHDxIKZq+sCRA6am/ZpZYjGwO0CyHS5X7RzsZ2Tx5AKbZx62NbysEYXTPXagTAg168 FKfeChKfImgo01TXJGbj9QqblC4Z0JdZroGaa1hdjqVMFrwH+ORCeyLa0T2lIl3CR+2No2 FSnSTgRhga38xO0apes26QJbewE6x81rCbv4izknC9enDvflm0EcGpXd94oNvULcaw7rNN 1Hb9Qosy/rsQJ03EclUcgNZ4BGWC8Ca8g4u7Wqo+Oz4atY7AL6tpgsaIpsLgq3bgWLJhU8 izsWALv5X1A5seuO2sm9LZiRk9Vcg52VTHc6wf0elv6pshghXU+EFvx9NHbWGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gypGplVS; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671853821; a=rsa-sha256; cv=none; b=V4DUx9AzT5BzVb0AeJKZxyi22ciPh+0alnnz6nbiTzVZhp8ktvXMfa6nuu4DESqtL51OxO CZCRhk4R9E+IdP2ZBSHPB5sXF2spYWzGL6Ujf4DlnaUedV8DVhQLanokE8q9m/0ERotIed UDgwyXTT7z7kfrxrVJeIUEWRXCXWwmKar7H3Tg/uitpT2rDdRQKb6Xgb87Xlmfps4wDOQ+ HGcRba5VmDa+TLr6Vx1zDj+vzUTl0XPW3MkUUpUZ9GXnUtd3JGFx8rMq5BaGv2mHJ8lw2/ RSfWOTgOcdrNRb6iLQfHu/0e1F52nYQh/flq6Ul3iEMpLlbWl38odeMOIIdyOw== X-Spam-Score: -4.56 X-Migadu-Queue-Id: 3B7C52A745 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gypGplVS; 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"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.56 X-TUID: UccwGDZx3nVN --0000000000001f694c05f08ac935 Content-Type: text/plain; charset="UTF-8" Version: Org mode version 9.6 (release_9.6-3-ga4d38e @ /usr/local/share/emacs/29.0.60/lisp/org/) CSV export for the agenda is formatting January 1, 2023 as "2023-1-1" and not "2023-01-01". The raw output is here: https://pastebin.com/raw/EyN1JbhP The last two lines both have "2023-1-1". This is incorrect because: Expression: (format-time-string "%04Y-%02m-%02d" (date-to-time "2023-1-1")) Result: "1999-12-31" --0000000000001f694c05f08ac935 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Version: Org mode version 9.6 (release_9.6-3-ga4d38e = @ /usr/local/share/emacs/29.0.60/lisp/org/)=C2=A0

=
CSV export for the agenda is formatting January 1, 2023 as "2023-= 1-1" and not "2023-01-01".
The raw output is h= ere: https://pastebin.com/raw= /EyN1JbhP

The last two lines both have "2= 023-1-1".
This is incorrect because:
Expression: (format-time-string "%04Y-%02m-%02d" (date-to-time = "2023-1-1"))
Result: "1999-12-31"



--0000000000001f694c05f08ac935--