OpenOrClosed.Core 2.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenOrClosed.Core --version 2.0.8                
NuGet\Install-Package OpenOrClosed.Core -Version 2.0.8                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenOrClosed.Core" Version="2.0.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenOrClosed.Core --version 2.0.8                
#r "nuget: OpenOrClosed.Core, 2.0.8"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenOrClosed.Core as a Cake Addin
#addin nuget:?package=OpenOrClosed.Core&version=2.0.8

// Install OpenOrClosed.Core as a Cake Tool
#tool nuget:?package=OpenOrClosed.Core&version=2.0.8                

Open or Closed for Umbraco

Open or Closed Logo

Yet another Business Hours package supporting Umbraco 10+

Adds Property Editors to manage standard and special (read holiday) opening/closing times

The OpenOrClosed.Core nuget package can be used in Core projects to add support for ModelsBuilder generated Content Models.

Inspired by the Dexmoor BusinessHours package, this one uses the built-in date and time picker and targets Umbraco 8.6+

There are two nuGet packages:

  • OpenOrClosed - DataType Definitions and Property Editors for the Umbraco Back-Office
  • OpenOrClosed.Core - PropertyValueConverters for use with ModelsBuilder to provide strongly typed models.

Property Editors

Standard Business Hours

Monday through to Sunday and optionally Bank Holidays, set each day Open or Closed with multiple ranges of times in either 24- or 12-hour time. Each time range can be flagged with "By Appointment".

Special Business Hours

Adds the ability to specify specific dates, with the same set of features for Standard Business Hours.

Change Log

Version 2.0.6

UI Improvements and the ability to reverse open/closed status.

Version 2.0.5

Special thanks to Lasse Dollis Spilling for his Comments contribution and cleanup

  • Adds comments for each entry in Standard and Special Hours
  • Added option to have all hours optional optional, not just closing hours.
  • Fixed bug on updating Time pickers
  • Cleaned up layout

Version 2.0.1

  • Standard Hours now reflect the current week for the OpensAt and ClosesAt lists

Version 2.0.0

  • Supports Umbraco 10+ only - for Umbraco 8 or 9 install version 1.1.0
  • Hours are now optional, allowing for a Days Open/Closed facility without the need to specify times.
  • Special Days can now be default to closed when added.
  • System.DayOfWeek is now included in the StandardHours View Model, assisting with the ability to render a localised Day.

Version 1.1.0

  • Closed Times can now be made optional by configuration (breaking change)

Version 1.0.0

  • Supports both Umbraco 8 and Umbraco 9

Version 0.2.2 Potential BREAKING Change

  • Changes the Hours from string to DateTime in the View Model to enable better localisation support.

Version 0.2.1

  • Removes the Id property from the View Models since it's no longer populated anyway.

Version 0.2.0

  • Removes the Id property from the editor as it's redundant
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OpenOrClosed.Core:

Package Downloads
OpenOrClosed

Open or Closed - Yet another Business Hours package! There are two nuGet packages: * OpenOrClosed - DataType Definitions and Property Editors for the Umbraco Back-Office * OpenOrClosed.Core - PropertyValueConverters for use with ModelsBuilder to provide strongly typed models. Property Editors: Standard Business Hours: Monday through to Sunday and optionally Bank Holidays, set each day Open or Closed with multiple ranges of times in either 24- or 12-hour time. Each time range can be flagged with "By Appointment". Special Business Hours: Adds the ability to specify specific dates, with the same set of features for Standard Business Hours.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 6,009 2/10/2024
3.0.0 1,580 11/7/2023
2.0.8 4,243 5/26/2023
2.0.6 238 5/19/2023
2.0.5 371 4/27/2023
2.0.4 6,773 12/31/2022
2.0.3 377 12/29/2022
2.0.2 497 11/29/2022
2.0.1 425 11/27/2022
2.0.0 508 11/21/2022
2.0.0-rc1 239 11/21/2022
1.1.0 1,766 7/3/2022
1.0.3 887 5/6/2022
1.0.2 8,095 12/17/2021
1.0.1 1,267 12/10/2021
1.0.1-pre 301 12/13/2021
1.0.0 1,681 10/24/2021
0.2.2 2,199 2/26/2021
0.2.1 527 2/26/2021
0.2.0 515 2/22/2021
0.1.5 538 2/17/2021
0.1.4 3,550 11/14/2020
0.1.2 781 9/29/2020
0.1.1 594 9/20/2020
0.1.0 599 9/20/2020

Targeting Umbraco 10+