quarto-dev / quarto-dev/quarto-cli

data-listing-date-modified-sort="NaN"

Open
#10,651 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug listings
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

When running quarto preview or quarto render, the listing page generates HTML that contains data-listing-date-modified-sort="NaN"

Steps to reproduce

Create a new blog:

quarto create project blog myblog

Preview the blog:

quarto preview myblog
Expected behavior

This should produce a valid value for the HTML attribute.

Actual behavior

The following HTML is produced:

<div class="quarto-post image-right" ... data-listing-date-modified-sort="NaN" ... >
Your environment

MacOS Sonoma 14.5

Quarto check output
 quarto check
Quarto 1.5.56
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.2.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.41.0: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.56
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Tex:  (not detected)

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.2
      Path: /Users/hodgesmr/.virtualenvs/quarto/bin/python3
      Jupyter: 5.7.2
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running quarto create project blog myblog, then quarto preview myblog or quarto render and inspect the generated listing HTML. Trace the listing-generation entry point responsible for data-listing-date-modified-sort; done means the attribute contains a valid value instead of NaN.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.