Skip to content

Latest commit

 

History

History
98 lines (62 loc) · 3.23 KB

CHANGELOG.md

File metadata and controls

98 lines (62 loc) · 3.23 KB

Release Notes for Store Hours

2.1.1.1 - 2018-11-01

Fixed

  • Fixed an error if you tried to access a time slot from a template from a custom custom column that had an empty value. (#31)

2.1.1 - 2018-09-03

Added

  • It’s now possible to find out if all the time slots for all the days are blank via entry.<FieldHandle>.getIsAllBlank(). (#29)

Fixed

  • Fixed a bug where required Store Hours fields wouldn’t get a validation error if none of the time slots were filled in.

2.1.0.1 - 2018-07-19

Fixed

  • Fixed a bug where older Store Hours data could get lost when upgrading to v2.1.

2.1.0 - 2018-07-19

Added

  • Added a new “Time Slots” field setting, which makes it possible to customize the available field columns. (#22)
  • It’s now possible to access today’s hours via entry.<FieldHandle>.getToday(). (#15)
  • It’s now possible to output weekday names via entry.<FieldHandle>[<DayIndex>].getName().
  • It’s now possible to access a custom range of days, or change which days comes first, via entry.<FieldHandle>.getRange().
  • It’s now possible to find out if all the time slots for a day are blank via entry.<FieldHandle>[<DayIndex>].getIsBlank().

2.0.6 - 2017-12-04

Changed

  • Loosened the Craft CMS version requirement to allow any 3.x version.

2.0.5 - 2017-11-09

Fixed

  • Fixed some bugs.

2.0.4 - 2017-07-07

Changed

  • Craft 3 Beta 20 compatibility.

2.0.3 - 2017-05-15

Fixed

  • Fixed a deprecation error.

2.0.2 - 2017-05-15

Fixed

  • Fixed a bug where the plugin wasn’t updating Store Hours fields that had been created in Craft 2.x.

2.0.1 - 2017-05-15

Added

  • Added a Dutch translation. (#13)

Changed

  • Changed the Store Hours field class from craft\storehours\fields\StoreHoursField to craft\storehours\Field.

Fixed

  • Fixed an error that occurred when adding a Store Hours field to a global set. (#14)
  • Fixed the changelog and download URLs.

2.0.0 - 2017-05-10

Changed

  • Added support for Craft 3.

1.2.2 - 2017-11-09

Fixed

  • Fixed a bug where looping through the field data on the front end could return the days out of order, if the user that saved it had a different Week Start Day than Sunday. (#19)

1.2.1 - 2017-04-21

Fixed

  • Fixed a PHP error that occurred if the current user’s Week Start Day setting was set to Sunday. (#12)

1.2.0 - 2017-04-18

Added

  • Store Hours fields now respect users’ Week Start Day settings. (#11)

1.1.0 - 2015-12-20

Changed

  • Updated to take advantage of new Craft 2.5 plugin features.

Fixed

  • Fixed a bug where blank times were being saved as arrays.
  • Fixed a bug where times were not reflecting the system timezone. (#3)

1.0.0 - 2014-07-16

  • Initial release.