8000 GitHub - zeusrs/TFC: Time formatter and calculator auto-formats time values as you type digits in the input field, according to pairs of digits separated by colons pattern. It allows to use this input as a calculator, so you can change time value adding or substracting partial time values.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ TFC Public

Time formatter and calculator auto-formats time values as you type digits in the input field, according to pairs of digits separated by colons pattern. It allows to use this input as a calculator, so you can change time value adding or substracting partial time values.

License

Notifications You must be signed in to change notification settings

zeusrs/TFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time formatter and calculator

Time formatter and calculator auto-formats time values in an input field.
Formats according to pairs of digits separated by colons pattern.
It allows to use this input as a calculator.

Requirements

JQuery

Getting started

TFC can manages time format and calculation of different time fractions from hours to frames per second.
Starting from hours you can choose the last time fraction you want to include.
You can declare this with an even amount of digits from 4 to 8.
Just need an input with an unespecific ID and a tfc class that works as follows: tfc_digits_fps
    To declare digits: d + digits amount
    To declare fps: f + fps amount
    
- Examples:     tfc_d4
                tfc_d6
                tfc_d8_f25
                tfc_d8_f30

Instructions:

ADD & SUBSTRACT: select operator.
ENTER: execute operation.
ESC: cancel operation and get back to current value .
ARROW LEFT & RIGHT: select pair of digits.
ARROW UP & DOWN: ± 1 unit.
SHIFT + UP & DOWN: ± 10 units.
BACKSPACE: remove last digit.
SUPR: set current and initial value to 00.
ALT + ENTER: set value to current time (only 4 or 6 digits).
CTRL + Z: go back to previous values. Deletes actual value.# 

About

Time formatter and calculator auto-formats time values as you type digits in the input field, according to pairs of digits separated by colons pattern. It allows to use this input as a calculator, so you can change time value adding or substracting partial time values.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0