weareenvoy/craft-timeframe

There is no license information available for the latest version (1.0.0) of this package.

Time frame field type.

Installs: 145

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 0

Type:craft-plugin

1.0.0 2017-03-23 00:41 UTC

This package is not auto-updated.

Last update: 2024-09-15 01:09:54 UTC


README

Craft field type for a time frames ex. 10am - 12pm

Installation

Follow the below steps to install with composer.

  1. Install with composer cd /craftproject
  2. Run the following command: composer require weareenvoy/craft-timeframe
  3. Go to Settings > Plugins and enable the plugin.

Template usage

For example if have a field named mondayHours with the timeframe field you can access the start and end time like so: {{entry.mondayHours.startTime|time('short)}} - {{entry.mondayHours.endTime|time('short)}}