New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mozaik/ext-time

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mozaik/ext-time

Mozaik time widgets

  • 2.0.0-alpha.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Mozaïk time widgets

License Travis CI NPM version Dependencies Coverage Status widget count

:warning: This branch holds the code for Mozaïk v2, if you're looking for v1, please have a look at the dedicated branch.

Time — Clock

Show analog clock from local or another timezone.

clock

parameters

keyrequireddescription
titlenoTitle of the widget. Prefix it with :: to format with Moment.
timezoneno Name of the timezone, like America/Los_Angeles. See http://momentjs.com/timezone/ for possible values. Defaults to local time.
infonoFree textual value to show within clock. Special values are: timezone, date, time.
sunRisenoLocal time when sun rises (used for day/night indicator). Defaults to 6:00.
sunSetnoLocal time when sun sets (used for day/night indicator). Defaults to 18:00.

usage

#
# Displaying date info
#
- extension:  time
  widget:     Clock
  info:       date
  columns:    1
  rows:       1
  x:          0
  y:          0

#
# Displaying timezone info
#  
- extension:  time
  widget:     Clock
  info:       timezone
  timezone:   America/Los_Angeles
  columns:    1
  rows:       1
  x:          1
  y:          0

#
# Displaying custom info
#  
- extension:  time
  widget:     Clock
  info:       Time is money!
  columns:    1
  rows:       1
  x:          2
  y:          0

Time — DigitalClock

Show digital clock from local or another timezone.

clock

parameters

keyrequireddefaultdescription
displayDatenotrueEnable/disable date display.
displaySecondsnotrueEnable/disable seconds display.
timezoneno Name of the timezone, like America/Los_Angeles. See http://momentjs.com/timezone/ for possible values. Defaults to local time.

usage

- extension:      time
  widget:         DigitalClock
  columns:        1
  rows:           1
  x:              0
  y:              0

#
# Disabling time seconds
#  
- extension:      time
  widget:         DigitalClock
  displaySeconds: false
  columns:        1
  rows:           1
  x:              1
  y:              0

#
# Disabling date
#
- extension:      time
  widget:         DigitalClock
  displayDate:    false
  columns:        1
  rows:           1
  x:              2
  y:              0

Keywords

FAQs

Package last updated on 01 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc