{"repo":"pvoznyuk/react-live-clock","free":true,"listed":false,"github":"https://github.com/pvoznyuk/react-live-clock","clone":"git clone https://github.com/pvoznyuk/react-live-clock.git","description":"React clock with time-zones","language":"JavaScript","stars":158,"topics":["time-zones","time","clock","date","dateformat","react"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-live-clock React clock with time-zones DEMO Installation NPM Don't forget to manually install peer dependencies ( react ) if you use npm@3. Demo http://pvoznyuk.github.io/react-live-clock Usage Outputs: Shows current time for 'US/Pacific' timezone and updates every second React Native React Native requires that you wrap text in a like this: If you don't you will get the error Formatting you can use any formatting from moment.js date library Properties Property Type Default Value Description ------------ --------------------- --------------- ------------- date timestamp or string current date Date to output, If nothing is set then it take current date. format string 'HH:MM' Formatting from moment.js library. locale string null Changes the language of the component via prop filter function (date: String) = date Filtering the value before the output . timezone string null If timezone is set, the date is show in this timezone. You can find the list. here, the TZ column. ticking boolean false If you want the clock to be auto-updated every interval seconds. blinking boolean, string false If you want the clock's last colon to blink. Set it to all to make them all blink. noSsr boolean false Makes the component not render on the server to fix mismatch. interval integer 1000 Auto-updating period for the clock. 1 second is a default value. className string null Extra class. style CSSProperties null CSSProperties Customized inline style . children string null date can be set as a c","default_branch":null,"files":null,"tree":[],"storefront":"/r/pvoznyuk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pvoznyuk/react-live-clock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}