Skip to content

Frost117/UmbracoDayOfWeek

Repository files navigation

Umbraco DayOfWeek custom property editor.

A simple dropdown property editor for content editors to select a day of the week, with configurable start day options.

It is based on .net's DayOfWeek Enum.

Features

  • Dropdown UI for selecting a day of the week.
  • Configurable start day (e.g., Monday as the first day instead of Sunday).
  • Easy integration into your .NET application.

Usage

By default the dropdown's first day will be Monday.

Default start day

When saving the day a value converter will take care of the database entry, as it is stored as a numeric value.

Model.value for the week days example

Configuration

You can change the start day in the dropdown via the settings in the datatype: Configuration to change start day of the week

Changing which day the week starts of with to Friday

The result of changing the start of week to Friday:

Result of changing the start day of the week to Friday

About

Uses .net day of week enum

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors