Unexpected-Keyboard icon indicating copy to clipboard operation
Unexpected-Keyboard copied to clipboard

Feature request: Insert simple timestamp

Open 573 opened this issue 4 months ago • 5 comments

In settings one might set a formatter and then define which key to insert a current date/timestamp according to pattern.

573 avatar Sep 11 '25 20:09 573

Sir, I suggest this is not a job for a "lightweight" keyboard. Perhaps a job for your preferred word processor.

Spike-from-NH avatar Sep 13 '25 19:09 Spike-from-NH

One might argue, but also this.

573 avatar Sep 14 '25 20:09 573

This is related to https://github.com/Julow/Unexpected-Keyboard/issues/228 and https://github.com/Julow/Unexpected-Keyboard/issues/812

I'd definitely accept a PR that implements this. People will eventually ask for custom date formats so I think it's smart to take this into account when designing the syntax for the new key. Perhaps using https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html ? The different kinds of keys are defined in KeyValue and parsed in KeyValueParser. You'll need to invent a syntax for describing the date format. You can then decode the KeyValue and send the actual text in KeyEventHandler.

Julow avatar Sep 15 '25 12:09 Julow

I would prefer if this could be implement as clipboard pinned-clips variables with python date syntax

ChiefMikeK avatar Sep 16 '25 15:09 ChiefMikeK

@ChiefMikeK can you elaborate pinned-clips quick search didn't find anything ?

EDIT: Nevermind clipboard pinned-clips variables android finds info.

573 avatar Sep 17 '25 07:09 573