Sha256: 7129ec4e91d820b0ca5bcedb51afb4a814ddf251e09799c2117c310636488ed0
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
{<img src="https://badge.fury.io/rb/timepiece.svg" alt="Gem Version" />}[http://badge.fury.io/rb/timepiece] ## Timepiece Timepiece is a Rails plugin providing a simple digital clock, accurate to your server's time and maintained by jQuery. ## Installation 1. Add Timepiece to your application's Gemfile gem 'timepiece' 2. Require timepiece in app/assets/javascripts/application.js //= require timepiece ## Usage * Add a functional clock to your views <%= timepiece %> * Pass a timezone paramater (Defaults to 'UTC') <%= timepiece('London') %> * By default, Timepiece shows a 24 hour digital clock. You can show a 12 hour clock by specifying it explicitly. <%= timepiece('London', '12') %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
timepiece-0.1.2 | README.rdoc |