@mozaik/ext-time
Advanced tools
Comparing version 2.0.0-alpha.3 to 2.0.0-alpha.4
@@ -1,2 +0,2 @@ | ||
Copyright (c) 2016 Raphaël Benitte | ||
Copyright (c) 2016-today Raphaël Benitte | ||
@@ -3,0 +3,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of |
{ | ||
"name": "@mozaik/ext-time", | ||
"version": "2.0.0-alpha.3", | ||
"version": "2.0.0-alpha.4", | ||
"description": "Mozaik time widgets", | ||
@@ -72,4 +72,5 @@ "repository": { | ||
"build": "npm run build:commonjs && npm run build:es", | ||
"format": "prettier --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --write 'src/**/*.js' 'test/**/*.js'" | ||
"format": "prettier --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --write 'src/**/*.js' 'test/**/*.js'", | ||
"prepublish": "npm run format && npm run lint && npm run build" | ||
} | ||
} |
@@ -10,2 +10,5 @@ # Mozaïk time widgets | ||
> :warning: This branch holds the code for Mozaïk v2, if you're looking for v1, | ||
> please have a look at the [dedicated branch](https://github.com/plouc/mozaik-ext-time/tree/mozaik-1). | ||
## Time — Clock | ||
@@ -69,3 +72,4 @@ | ||
``` yaml | ||
- type: time.digital_clock | ||
- extension: time | ||
widget: DigitalClock | ||
columns: 1 | ||
@@ -76,3 +80,4 @@ rows: 1 | ||
- type: time.digital_clock | ||
- extension: time | ||
widget: DigitalClock | ||
displaySeconds: false | ||
@@ -84,4 +89,5 @@ columns: 1 | ||
- type: time.digital_clock | ||
displayWeekday: false | ||
- extension: time | ||
widget: DigitalClock | ||
displayDate: false | ||
columns: 1 | ||
@@ -88,0 +94,0 @@ rows: 1 |
46077
107