Comments (5)
@zhousihan77 已修复,请更新 1.7.9
from obsidian-lifeos.
TaskRecordListByTime 是指本周的日记文件中记录的任务,这样还有问题吗?
from obsidian-lifeos.
感谢你的回答,还是有一点问题:
“本周的日记文件中记录的任务”
这个本周是指当前时间还是周记的文件时间呢?比如现在是2024的第一周,此时新建的2024-W2周记,显示的应该是第一周还是第二周的任务呢?
在2024-01-08这天新建的2024-W2周记,显示的还是W1的任务,ProjectListByTime显示的也是上周的项目耗时。
from obsidian-lifeos.
所有的时间都是当前文件名的时间,和你哪一个时刻创建无关
from obsidian-lifeos.
看起来似乎是这段代码转换week number的问题。单击日历栏生成的周记文件中,第1-9周的week number是一位数字,没办法通过W(\d{2})/)提取。
parse(path = ''): DateType {
const fileName = this.app.vault.getAbstractFileByPath(path)?.name;
const [[, year], [, quarter], [, month], [, week], [, day]] = [
fileName?.match(/(^\d{4})/) || [], // year
fileName?.match(/^\d{4}-Q(\d{1})/) || [], // quarter
fileName?.match(/^\d{4}-(\d{2})/) || [], // month
fileName?.match(/^\d{4}-W(\d{2})/)|| [], // week
fileName?.match(/^\d{4}-\d{2}-(\d{2})/) || [], // day
];
from obsidian-lifeos.
Related Issues (20)
- Moving from Capture to PARA HOT 3
- Add quick developer documentation HOT 1
- Changing the week to start from Saturday to friday HOT 4
- Custom Weekly Template HOT 5
- 存量memos同步, 日记不存在会有一堆报警, 可能考虑屏蔽下 HOT 5
- Memos 拉取失败 HOT 6
- 'ERROR_MESSAGENO_DAILY_RECORD_API' HOT 1
- 周记页面中的复盘部分会显示习惯打卡 HOT 1
- 有个小脑洞,可以配置家人朋友的生日,点日记的时候自动添加到日常记录 HOT 1
- 领域中列出的任务来自于dailynote,如果完成可否隐藏 HOT 1
- 查找语句需要忽略自定义模版
- *.README文件无法按照tag索引到所有文件 HOT 12
- Periodic-para plugin fails to fetch usememos data, misinterpreting valid JSON response as an error HOT 2
- 同步 Memos 的时候能否自动创建对应的 Note HOT 1
- Plugin No Longer Active HOT 1
- FR: Time Tracking - allow 'h' as alias for 'hr' HOT 1
- LifeOS queries treat tags as case sensitive HOT 1
- Archived folders not found if any folder under Archive is missing a readme
- ArchiveListByTag does not search within subdirectories of Archive
- Custom template locations not working HOT 2
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-lifeos.