Comments (2)
I did some debugging, not sure how to fix it but here is the issue
The TODO date gets set to a JavaScript date which sets the time to 0's stackoverflow.com
Somewhere this date gets converted from GMT to the local time, for me that is Central Time in the US.
Starting with #2021-05-16
this gets set to Sat May 15 2021 19:00:00 GMT-0500 (Central Daylight Time)
in obsidian. The isToday
function compares the Year Month Date values but the date is never set back to GMT.
[obsidian-plugin-todo] - istoday true - date Sat May 15 2021 19:00:00 GMT-0500 (Central Daylight Time) - today Sat May 15 2021 00:00:00 GMT-0500 (Central Daylight Time)
const actionDate = dateMatches != null ? new Date((_a = dateMatches[0]) === null || _a === void 0 ? void 0 : _a.substring(1)) : undefined;
const isToday = (date) => {
const today = new Date();
return (date.getDate() == today.getDate() &&
date.getMonth() == today.getMonth() &&
date.getFullYear() == today.getFullYear());
};
from obsidian-plugin-todo.
Hi @ryadaj, thanks for reporting. This should be fixed by the changes I introduced as part of #35.
By installing this plugin directly from source, you should be able to use this. I'm waiting for some others to test-drive this to be sure that it works for everyone and not just for me. Once I get some confirmation, I'll cut a new release that includes the fix, such that all users can upgrade from within Obsidian.
from obsidian-plugin-todo.
Related Issues (20)
- Where do I find the TODO list? HOT 1
- Failed to load source map luxon.js.map
- How do i make a TODO ? HOT 1
- Feature Request: show TODOs only from specific file/files HOT 4
- Periodic Notes Integrations
- bug report: checkboxes inside numbered list not aggregated to Todo-view
- Causes a short lag every few seconds
- failed to load this plugin
- [Feature Request] Add compatibility with the Obsidian List Callouts plugin
- Where is the todo view? HOT 1
- Plugin does not seem to care for theme HOT 1
- Please Enable various-complements autocomplete on the popup, "Create or edit Task"
- Don't delete date tag after mark entry as done
- Main Page that's shown in the ReadMe doesn't exist. HOT 1
- Puts obsidian very laggy, better avoid plugin with the last version
- Plugin seems to ignore the "excluded files" list
- FR: Collect only from tagged files (TODOs from 4000 markdown files in (27.085s)`) HOT 4
- Failing on TriggerIndex | No rendering HOT 4
- Tasks in today view not inheriting due date. HOT 3
- New plugin name requirements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-plugin-todo.