vendetta-mod / ideas

Suggest plugin/theme ideas
14 stars 1 forks source link

Switch inline timestamp format on tap #74

Closed ChaosNicro closed 1 year ago

ChaosNicro commented 1 year ago

Discord username

@chaosnicro

Plugin description

When looking at an inline timestamp e.g. "" one should be able to see the absolute timestamp in local time.

Elaborate

The some formats like "R" hhave terrible accuracy, Going "in X units" for years, months, days, hours and minutes. It only steps down a unit when there is less than one of the higher unit remainig. This makes it hard to tell what point in time is actually being referenced.

Ideally, I would like the plugin to switch the expression of the timestamp between relative and absolute when tapped. The Plugin would replace the format-letter with "f"(full-short) or "F"(full-long) and back, then re-render the markdown. Maybe make the target format configurable.

Thanks

ChaosNicro commented 1 year ago

Apparently it already does this by default, but does not allow tapping timestamps within embeds, which is where I needed it.

ChaosNicro commented 1 year ago

Added onto #14 , since it seems to be specific to embeds.