TimeDiff plugin

by Grzegorz Dominiczak
5
4
3
2
1
Score: 65/100

Description

Category: Note Enhancements

The TimeDiff plugin is a useful tool for tracking time intervals in your Obsidian notes. With this plugin, you can create a "timediff" markdown block to calculate and display the differences between various dates and times. The plugin also provides three commands: one to show the total time difference count in the current file, another to insert a timediff block at the cursor position, and a third to insert the current time at the cursor position. This plugin is ideal for anyone who needs to track time intervals or create schedules in their notes, and it can be a valuable addition to your Obsidian workflow.

Reviews

No reviews yet.

Stats

10
stars
5,728
downloads
1
forks
1,398
days
64
days
64
days
5
total PRs
0
open PRs
0
closed PRs
5
merged PRs
3
total issues
0
open issues
3
closed issues
2
commits

Latest Version

2 months ago

Changelog

README file from

Github

Obsidian TimeDiff Plugin

This is a plugin for Obsidian (https://obsidian.md).

How to use

  • Calculates time diffs in timediff markdown block
	```timediff
	11:10 - 12:20
	12:38 - 14:00
	23:20 - 23:59
	00:00 - 00:55
	```

In reading mode diffs between the dates will be parsed and presented in readable format. Sum of diffs will be presented at the bottom of the block.

Commands

  • TimeDiff plugin - Show total time diff count in current file command, which calculates total sum of all timediff blocks on the page.
  • TimeDiff plugin - Insert timediff block command, which inserts timediff block in current cursor position.
  • TimeDiff plugin - Insert current time command, which inserts current time in current cursor position.

Local development

  • Clone your repo to a local development folder. For convenience, you can place this folder in your .obsidian/plugins/your-plugin-name folder.
  • Install NodeJS, then run yarn in the command line under your repo folder.
  • Run yarn run dev to compile your plugin from main.ts to main.js.
  • Make changes to main.ts (or create new .ts files). Those changes should be automatically compiled into main.js.
  • Reload Obsidian to load the new version of your plugin.
  • Enable plugin in settings window.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.