http://bugzilla.opensuse.org/show_bug.cgi?id=1194200 Bug ID: 1194200 Summary: org-read-date function in emacs fails to parse input string containing capital letters in TBLFM line Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: Other OS: openSUSE Leap 15.3 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications Assignee: screening-team-bugs@suse.de Reporter: buntu@bonhomierch.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 854888 --> http://bugzilla.opensuse.org/attachment.cgi?id=854888&action=edit Org mode test file using org-read-date in TBLFM The function, org-read-date, fails to produce a correct output date when given a string parameter containing uppercase such as "-Thu" when used in a Calc formula. See attached test org-mode file for complete version information. See also https://www.reddit.com/r/orgmode/comments/rruunf/comment/hqpsjlm/?utm_source=reddit&utm_medium=web2x&context=3 Uppercase-containing input: | Date: | Friday 12/31/2021 | *unexpected* | | Date: | Friday 12/31/2021 | *unexpected* | #+TBLFM: @1$2='(format-time-string "%A %m/%d/%Y" (org-read-date nil t "-Wed"))::@2$2='(format-time-string "%A %m/%d/%Y" (org-read-date nil t "-Thu")) Lowercase input: | Date: | Wednesday 12/29/2021 | *expected* | | Date: | Thursday 12/30/2021 | *expected* | #+TBLFM: @1$2='(format-time-string "%A %m/%d/%Y" (org-read-date nil t "-wed"))::@2$2='(format-time-string "%A %m/%d/%Y" (org-read-date nil t "-thu")) -- You are receiving this mail because: You are on the CC list for the bug.