Inserts the current UNIX-timestamp when the user types a the string defined in triggerSequence
at the beginning of a line.
There is a very simple time-offset-correction implemented, which is triggered every updateInterval
milliseconds.
If Starttime is defined like Starttime: YYYY-MM-DD HH:MM:SS
(as defined in ISO8601) or Starttime: DD.MM.YYYY HH:MM:SS
(as defined in DIN1355-1), and relativeTimestamps: true
is set in the document, the timedistance from current time to defined time will inserted, instead of current timestamp.
"ep_insertTimestamp" : {
"updateInterval": "30000",
"triggerSequence": "###",
"replacePause": true
}
Sub-Settings:
updateInterval
, defaults to30000
,-1
means no auto-updating, the interval in which the time-offset gets updatedtriggerSequence
, defaults to###
, the characters the user has to write to trigger a timestamp-insertationreplacePause
, defaults totrue
, true if a OSF-pause-sequence (e.g.###:###
) should also be replaced.