Giter Club home page Giter Club logo

epoch-converter's Introduction

Epoch-Converter README

This extension will add an unobtrusive Human-Readable time tag right next to any unix epoch timestamps in the editor.

  • By Unobtrusive it means that the tag generated will not be selectable and will not change the basic structure of the text in editor whatsoever.
  • It will be very helpful to those who want to refer to real dates for every timestamp in the editor so that they can double check their epoch number.

Note: It will only get the Human-Readable time of timestamps ahead of 1 Jan 1980.

Features:

This Extension comes with two commands:

  • getHRT: To generate the unobtrusive Human-Readable time tags inline with the timestamp i.e right next to timestamp.

  • rmvHRT: To remove the Human-Readable time tags generated by previous command.

Note: To give a command first you have to open the command pallete. For Mac: "Cmd+Shft+p", For Windows: "Ctrl+Shft+p".

  • Additionally, there is a hover feature available now, which will show the Human-Readable time for any epoch number which we hover on.

It can be configured on/off in settings, (default is on)

It accepts both types of timestamps i.e in seconds or in milliseconds.

Configurable to UTC/IST(default).

Shortcuts:

Convert:

  • For Mac: "Shft+Option+c"
  • For Windows/Linux: "Shft+Alt+c"

Reverse:

  • For Mac: "Shft+Option+r"
  • For Windows/Linux: "Shft+Alt+r"

Example:

  • Before:

  • After:

  • Hover:

epoch-converter's People

Contributors

sushant3524 avatar undali avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.