mirror of
https://github.com/vkostyanetsky/ObsidianTimesheet.git
synced 2026-07-22 10:10:25 +00:00
1.1.1
This commit is contained in:
parent
9b7c5a4bc6
commit
8fc360e102
7 changed files with 15 additions and 7 deletions
|
|
@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## 1.1.1 - 2024-06-09
|
||||
|
||||
### Fixed
|
||||
|
||||
* A bug due to which the description of two tasks with identical title, one of which has a time specified, and the other does not, was not shows as a single task log title.
|
||||
|
||||
## 1.1.0 - 2024-05-16
|
||||
|
||||
### Added
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "timesheet",
|
||||
"name": "Timesheet",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"minAppVersion": "1.5.3",
|
||||
"description": "Timesheet generator for tasks in daily notes.",
|
||||
"author": "vkostyanetsky",
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "timesheet",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "timesheet",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"eslint": "^8.57.0"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "timesheet",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Timesheet generator for Obsidian.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@ export default class TimesheetCodeBlock {
|
|||
task.timeLogs.forEach((log) => {
|
||||
let title = log.title.replace(task.number, "");
|
||||
title = title.replace(log.intervalString, "");
|
||||
title = title.replace(/\(\s*\)/g, "");
|
||||
title = title.replace(/\(\s*\)/g, "").trim();
|
||||
|
||||
if (logs.indexOf(title) == -1) {
|
||||
lines.push(plugin.settings.templateTaskLog.replace("{taskLogTitle}", title))
|
||||
logs.push(title)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export default class TimeLogsParser {
|
|||
result.endTime = match[3];
|
||||
result.string = match[1];
|
||||
}
|
||||
console.log(match)
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"1.0.0": "1.5.3",
|
||||
"1.1.0": "1.5.3"
|
||||
"1.1.0": "1.5.3",
|
||||
"1.1.1": "1.5.3"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue