0.3.1 • Published 6 years ago

pimatic-datetime v0.3.1

Weekly downloads
25
License
MIT
Repository
github
Last release
6 years ago

Description

This plugin provides date and time information

Configuration

Sample Plugin Config:

{
  "plugin": "datetime"
}

Sample Device Config:

There are four optional configuration parameters

  • interval - the update interval of the device in ms. Default: 5000
  • locale - is used for formatting the local variables
  • dateformat - is used for formatting the "formatted" variable
  • timezone - is used for calculating date and time from different timezones
  • referenceDate - a fix reference date for date calculations. Format: YYYY-MM-dd HH:mm:ss
  • differenceFormat - the format for date calculation differences days|hours|minutes|seconds
    {
      "name": "datetime",
      "class": "DateTimeDevice",
      "xAttributeOptions": [],
      "id": "datetime",
      "locale": "en-US",
      "dateformat": "YYYY-MM-DD"
    }

Beware

This plugin is in an early alpha stadium and you use it on your own risk. I'm not responsible for any possible damages that occur on your health, hard- or software.

License

MIT

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago