Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeboothjr/get-local-time
https://github.com/jeboothjr/get-local-time
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeboothjr/get-local-time
- Owner: JEBoothjr
- License: mit
- Created: 2024-02-22T14:00:49.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-22T20:18:37.000Z (11 months ago)
- Last Synced: 2024-02-23T16:36:09.630Z (11 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Obsidian Get Local Time
Uses a `timezone` or `time_zone` frontmatter property and populates a `localtime` or `local_time` frontmatter property with the current day/time in that timezone when the document is opened.
## Usage
> This plugin has no settings.
In the frontmatter of a file, simply create either a `time_zone` or `timezone` property and enter an official IANA timezone in it, ie. `America/Chicago`. Also create either a `local_time` or `localtime` property.
When the document is opened, the plugin will take your current time and automatically populate the `local_time`/`localtime` property with what day/time it currently is in that timezone.
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
## Support the development of the plugin