Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Jquery Timeago | 3,826 | 16 | 1 | 2 months ago | 49 | April 23, 2019 | 45 | mit | JavaScript | |
:clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago"). | ||||||||||
Jquery Timepicker | 1,861 | 103 | 14 | a month ago | 45 | August 24, 2023 | 16 | mit | JavaScript | |
A javascript timepicker plugin for jQuery inspired by Google Calendar. | ||||||||||
Datepair.js | 355 | 21 | 1 | a year ago | 7 | April 22, 2021 | 9 | JavaScript | ||
A javascript plugin for intelligently selecting date and time ranges, inspired by Google Calendar. | ||||||||||
Timecircles | 295 | 20 | 4 years ago | July 27, 2014 | 61 | JavaScript | ||||
jQuery plugin to show time since or time until a specific time | ||||||||||
Rails Timeago | 214 | 583 | 5 | 2 years ago | 43 | March 04, 2022 | 3 | mit | Ruby | |
A Rails helper for time tags that can be used with the jQuery Timeago plugin. | ||||||||||
Jquerytimeautocomplete | 116 | 1 | 4 years ago | 1 | November 05, 2018 | 2 | other | JavaScript | ||
jQuery autocomplete plugin that works with times. Works basically the same as Google Calendars time input when you add an event. Example: http://7shifts.com/better-time-drop-downs-jquery-timeautocomplete/ | ||||||||||
Schedulerjs | 62 | 8 years ago | 4 | mit | JavaScript | |||||
jQuery schedule time picker plugin | ||||||||||
Jclock | 60 | 7 years ago | 4 | JavaScript | ||||||
jQuery clock plugin - display 12-hour or 24-hour time notation, local or UTC time. | ||||||||||
Jquery Runner | 52 | 1 | 4 years ago | 1 | March 04, 2014 | 12 | mit | CoffeeScript | ||
A runner/stopwatch plugin for jQuery | ||||||||||
Nodejs Socketio Chat App | 33 | 4 years ago | mit | JavaScript | ||||||
MEAN Stack & Socket.IO Real-time Chat App | A MEAN stack based Real Time chat application |
It's a jquery plugin for time that control the time with a structure like strftime with a high perfomance.
When you use jTimer for get time with a structure that contains second you run an interval of 1 second, but when you use it for get time with a structure that contain: (minute you run an interval of 60 second, hours ==> interval of 3600 second, day, month....).
npm install jtimer
npm test
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/1.1.1/jquery.min.js'></script> // call jquery
<script src="jTimer.min.js"></script> // call jTimer script
%ss ==> Secondes
%mm==> Minutes
%hh ==> Hours
%d ==> day(0-31)
%dd ==> number of dayWeek(0-6)
%D==> day of week(sunday,Saturday...)
%DD ==> short dayWeek(sun,mon...)
%LL ==> mini dayWeek(su,mo...)
%M ==> monthes(January,Fev...)
%MM ==> mini monthes(jan,dec..)
%m ==> monthes(1-12)
%y ==> year
// the default format output of jTimer() is : %D %d %M %y
// the default language of jTimer is : Arabic
AR ==> Arabic
AR-GR ==> Arabic Gregorian
AR-MG ==> Arabic Maghrebic
EN ==> English
FR ==> Francais
AZ ==> Azérie
DE ==> Deutch
IT ==> Italien
AF ==> African
ES ==> Espagnol
ID ==> Indonesian
PT ==> Portuguese
// Language propertie is a insensitive-case
$(document).ready(function() {
var dom=$(".heure");
dom.jTimer({
format:"%hh:%mm:%ss",
lang:"en"
}); // They will output the time in selected element
});
look here for demo
$(document).ready(function() {
var dom=$(".heure");
dom.jTimer({
format:"%hh:%mm:%ss",
change:true,
monthArray=[],// define 12 month like an array by your language
dayArray:[],// define 7 day of week
shift:3// define how long it the short day of week and month (sunday ==> sun, january ==> jan)
}); // They will output the time in selected element
});
jTimer is freely distributable under the terms of the MIT license