{"id":15998134,"url":"https://github.com/plouc/mozaik-ext-time","last_synced_at":"2025-03-18T01:31:25.430Z","repository":{"id":27454736,"uuid":"30933463","full_name":"plouc/mozaik-ext-time","owner":"plouc","description":"Mozaïk time/calendar widgets","archived":false,"fork":false,"pushed_at":"2018-09-28T05:40:40.000Z","size":420,"stargazers_count":9,"open_issues_count":2,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-07T08:22:55.337Z","etag":null,"topics":["clock","dashboard","digital-clock","mozaik","time","timezone","widget"],"latest_commit_sha":null,"homepage":"https://mozaik-ext-time-v2.herokuapp.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plouc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-17T19:27:58.000Z","updated_at":"2020-09-02T14:45:40.000Z","dependencies_parsed_at":"2022-08-26T23:02:34.135Z","dependency_job_id":null,"html_url":"https://github.com/plouc/mozaik-ext-time","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plouc%2Fmozaik-ext-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plouc%2Fmozaik-ext-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plouc%2Fmozaik-ext-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plouc%2Fmozaik-ext-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plouc","download_url":"https://codeload.github.com/plouc/mozaik-ext-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243894428,"owners_count":20365030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clock","dashboard","digital-clock","mozaik","time","timezone","widget"],"created_at":"2024-10-08T08:07:27.559Z","updated_at":"2025-03-18T01:31:25.101Z","avatar_url":"https://github.com/plouc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mozaïk time widgets\n\n[![License][license-image]][license-url]\n[![Travis CI][travis-image]][travis-url]\n[![NPM version][npm-image]][npm-url]\n[![Dependencies][gemnasium-image]][gemnasium-url]\n[![Coverage Status][coverage-image]][coverage-url]\n![widget count][widget-count-image]\n\n\u003e :warning: This branch holds the code for Mozaïk v2, if you're looking for v1,\n\u003e please have a look at the [dedicated branch](https://github.com/plouc/mozaik-ext-time/tree/mozaik-1). \n\n## Time — Clock\n\n\u003e Show analog clock from local or another timezone.\n\n![clock](https://raw.githubusercontent.com/plouc/mozaik-ext-time/mozaik-2/preview/time.clock.png)\n\n### parameters\n\nkey        | required | description\n-----------|----------|----------------------------------------------------\n`title`    | no       | *Title of the widget. Prefix it with `::` to [format](http://momentjs.com/docs/#/displaying/format/) with Moment.*\n`timezone` | no       | *Name of the timezone, like `America/Los_Angeles`. See http://momentjs.com/timezone/ for possible values. Defaults to local time.*\n`info`     | no       | *Free textual value to show within clock. Special values are: `timezone`, `date`, `time`.*\n`sunRise`  | no       | *Local time when sun rises (used for day/night indicator). Defaults to `6:00`.*\n`sunSet`   | no       | *Local time when sun sets (used for day/night indicator). Defaults to `18:00`.*\n\n### usage\n\n``` yaml\n#\n# Displaying date info\n#\n- extension:  time\n  widget:     Clock\n  info:       date\n  columns:    1\n  rows:       1\n  x:          0\n  y:          0\n\n#\n# Displaying timezone info\n#  \n- extension:  time\n  widget:     Clock\n  info:       timezone\n  timezone:   America/Los_Angeles\n  columns:    1\n  rows:       1\n  x:          1\n  y:          0\n\n#\n# Displaying custom info\n#  \n- extension:  time\n  widget:     Clock\n  info:       Time is money!\n  columns:    1\n  rows:       1\n  x:          2\n  y:          0\n```\n\n\n## Time — DigitalClock\n\n\u003e Show digital clock from local or another timezone.\n\n![clock](https://raw.githubusercontent.com/plouc/mozaik-ext-time/mozaik-2/preview/time.digital_clock.png)\n\n### parameters\n\nkey              | required | default | description\n-----------------|----------|---------|------------------------------------------\n`displayDate`    | no       | `true`  | *Enable/disable date display.*\n`displaySeconds` | no       | `true`  | *Enable/disable seconds display.*\n`timezone`       | no       |         | *Name of the timezone, like `America/Los_Angeles`. See http://momentjs.com/timezone/ for possible values. Defaults to local time.*\n\n### usage\n\n``` yaml\n- extension:      time\n  widget:         DigitalClock\n  columns:        1\n  rows:           1\n  x:              0\n  y:              0\n\n#\n# Disabling time seconds\n#  \n- extension:      time\n  widget:         DigitalClock\n  displaySeconds: false\n  columns:        1\n  rows:           1\n  x:              1\n  y:              0\n\n#\n# Disabling date\n#\n- extension:      time\n  widget:         DigitalClock\n  displayDate:    false\n  columns:        1\n  rows:           1\n  x:              2\n  y:              0\n```\n\n\n[license-image]: https://img.shields.io/github/license/plouc/mozaik-ext-time.svg?style=flat-square\n[license-url]: https://github.com/plouc/mozaik-ext-time/blob/master/LICENSE.md\n[travis-image]: https://img.shields.io/travis/plouc/mozaik-ext-time.svg?style=flat-square\n[travis-url]: https://travis-ci.org/plouc/mozaik-ext-time\n[npm-image]: https://img.shields.io/npm/v/@mozaik/ext-time.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/@mozaik/ext-time\n[gemnasium-image]: https://img.shields.io/gemnasium/plouc/mozaik-ext-time.svg?style=flat-square\n[gemnasium-url]: https://gemnasium.com/plouc/mozaik-ext-time\n[coverage-image]: https://img.shields.io/coveralls/plouc/mozaik-ext-time.svg?style=flat-square\n[coverage-url]: https://coveralls.io/github/plouc/mozaik-ext-time\n[widget-count-image]: https://img.shields.io/badge/widgets-x2-green.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplouc%2Fmozaik-ext-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplouc%2Fmozaik-ext-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplouc%2Fmozaik-ext-time/lists"}