Giter Site home page Giter Site logo

Comments (4)

tjex avatar tjex commented on June 16, 2024 1

from zk.

tjex avatar tjex commented on June 16, 2024

I can't reproduce this. Are you using YAML dates? Or are you relying on the file dates?

Have you run zk index before these commands just to be sure?

On my end (text grabbed directly from my terminal):

~/.local/src/zk-org/workbench/test-vault main*
sys > zk list --created="yesterday" -P -f "oneline"
star book star-book.md (yesterday)

Found 1 note

~/.local/src/zk-org/workbench/test-vault main*
sys > zk list --modified="today" -P -f "oneline"
another "test" note another "test" note.md (1 month ago)
star book star-book.md (yesterday)

Found 2 notes

~/.local/src/zk-org/workbench/test-vault main*
sys > zk list --modified="today" --created="yesterday" -P -f "oneline"
star book star-book.md (yesterday)

Found 1 note

from zk.

tjex avatar tjex commented on June 16, 2024

ahhh, yep. This is because of the day range parsing bug we came across previously: #384

I installed from brew and I get the same results as you.

We've addressed this, but haven't released a new version to package repositories yet.
In the meantime, you can build from source (main branch) if you like.

I'll close for now. If you do build from source and find the issue persists, ping us back here 👍

from zk.

dtanphat9388 avatar dtanphat9388 commented on June 16, 2024

Have you run zk index before these commands just to be sure?

i sure, i create auto_command to run ZkIndex after write buffer

		vim.api.nvim_create_autocmd("BufwritePost", {
			pattern = vim.env.ZK_NOTEBOOK_DIR .. "/**/*.md",
			command = "ZkIndex",
		})

I hope this issue is fixed in a later release. Thank you so much.

from zk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.