Skip to main content

The purpose of this plugin is to check if current time is in given time span.

Project description

Local time span action

The purpose of this plugin is to check if the local time is within defined time span.

This action minds the time zone of the event. Therefore, you must provide time zone. By default, time zone is included in browser event context.

Configuration

This node requires configuration. In order to read timezone you must define path to it. Use dot notation to do that.

Moreover, you need to set start and end of the time span. The time slots have no default values.

Example of the configuration:

{
  "timezone": "session@context.time.tz",
  "start": "12:00:00",
  "end": "14:00:00"
}

Input

This node does not process input payload.

Output

Return input payload on IN port or OUT port. Returns data on IN port if local time is in defined time span.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tracardi-local-timespan-0.6.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracardi_local_timespan-0.6.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file tracardi-local-timespan-0.6.0.tar.gz.

File metadata

  • Download URL: tracardi-local-timespan-0.6.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for tracardi-local-timespan-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ae502c3423a5edbe0122c1dde9cad59c1ec143c6fc0c3e3dd180c4bd49b20fe7
MD5 dd5b6b61a145c9f115c67afe263b4b6b
BLAKE2b-256 16618782ad6f6607f95afd855573dc88622a5983d0aa1aec91ef99fcfad345e1

See more details on using hashes here.

File details

Details for the file tracardi_local_timespan-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: tracardi_local_timespan-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for tracardi_local_timespan-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bcb8d77a90369dbf03a2866c066844dcd65a911fe4e2ae4f3952378681908b6
MD5 a26a554f70bcfbea6270b97fb0585ba5
BLAKE2b-256 739eb54d5a3a6a5c23d0e67469d51bcd1b50a56f063e4fe0f86397588dd1c8c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page