GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shownotes/ep_insertTimestamp: Etherpad plugin (Inserts a Unix timestamp)

BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
static/js
static/js
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
ep.json
ep.json
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

ep_insertTimestamp

Function

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.

Settings

"ep_insertTimestamp" : {
                         "updateInterval": "30000",
                         "triggerSequence": "###",
                         "replacePause": true
                       }

Sub-Settings:

  • updateInterval, defaults to 30000, -1 means no auto-updating, the interval in which the time-offset gets updated
  • triggerSequence, defaults to ###, the characters the user has to write to trigger a timestamp-insertation
  • replacePause, defaults to true, true if a OSF-pause-sequence (e.g. ###:###) should also be replaced.

About

Etherpad plugin (Inserts a Unix timestamp)

Resources

Readme
Activity
Custom properties

Stars

2 stars

Watchers

14 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.