{"id":30420857,"url":"https://github.com/abjerner/limbo.umbraco.time","last_synced_at":"2026-02-27T14:37:27.177Z","repository":{"id":170762201,"uuid":"528163230","full_name":"abjerner/Limbo.Umbraco.Time","owner":"abjerner","description":"Property editors for picking dates and time in Umbraco.","archived":false,"fork":false,"pushed_at":"2025-03-13T15:40:40.000Z","size":949,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"v13/main","last_synced_at":"2025-11-27T19:02:02.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://packages.limbo.works/limbo.umbraco.time/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abjerner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-23T21:07:48.000Z","updated_at":"2025-03-13T15:40:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d241719c-42f1-4466-8f98-e7a62cf5f233","html_url":"https://github.com/abjerner/Limbo.Umbraco.Time","commit_stats":null,"previous_names":["abjerner/limbo.umbraco.time"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/abjerner/Limbo.Umbraco.Time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FLimbo.Umbraco.Time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FLimbo.Umbraco.Time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FLimbo.Umbraco.Time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FLimbo.Umbraco.Time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abjerner","download_url":"https://codeload.github.com/abjerner/Limbo.Umbraco.Time/tar.gz/refs/heads/v13/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FLimbo.Umbraco.Time/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29899922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T14:30:36.354Z","status":"ssl_error","status_checked_at":"2026-02-27T14:30:01.989Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-22T08:20:37.345Z","updated_at":"2026-02-27T14:37:27.172Z","avatar_url":"https://github.com/abjerner.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Limbo Time\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/abjerner/Limbo.Umbraco.Time/blob/v13/main/LICENSE.md)\n[![NuGet](https://img.shields.io/nuget/vpre/Limbo.Umbraco.Time.svg)](https://www.nuget.org/packages/Limbo.Umbraco.Time)\n[![NuGet](https://img.shields.io/nuget/dt/Limbo.Umbraco.Time.svg)](https://www.nuget.org/packages/Limbo.Umbraco.Time)\n[![Umbraco Marketplace](https://img.shields.io/badge/umbraco-marketplace-%233544B1)](https://marketplace.umbraco.com/package/limbo.umbraco.time)\n[![Limbo.Umbraco.Time at packages.limbo.works](https://img.shields.io/badge/limbo-packages-blue)](https://packages.limbo.works/limbo.umbraco.time/)\n\n**Limbo.Umbraco.Time** is a small package for Umbraco that adds some new property editorsfor working with date and time:\n\n- [**Date Picker**](#date-picker) - returning an instance of [EssentialsDate](https://packages.skybrud.dk/skybrud.essentials/reference/time/essentialsdate/)\n- [**Time Picker**](#time-picker) - returning an instance of [TimeOffset](https://github.com/abjerner/Limbo.Umbraco.Time/blob/master/src/Limbo.Umbraco.Time/Models/TimeOffset.cs)\n- [**UNIX Timestamp**](#unix-timestamp) - returning an instance of [EssentialsTime](https://packages.skybrud.dk/skybrud.essentials/reference/time/essentialstime)\n- [**Opening Hours**](#opening-hours) - returning an instance of [OpeningHoursModel](https://github.com/abjerner/Limbo.Umbraco.Time/blob/v13/main/src/Limbo.Umbraco.Time/Models/OpeningHours/OpeningHoursModel.cs)\n\nWhile Umbraco already features a property editor for picking a date (or date and time), the property editors in this package handles more specific use cases (eg. the date picker will return EssentialsDate instead of DateTime).\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n## Installation\n\nThe Umbraco 13 version of this package is only available via [NuGet](https://www.nuget.org/packages/Limbo.Umbraco.Time/13.0.1). To install the package, you can use either .NET CLI:\n\n```\ndotnet add package Limbo.Umbraco.Time --version 13.0.1\n```\n\nor the older NuGet Package Manager:\n\n```\nInstall-Package Limbo.Umbraco.Time -Version 13.0.1\n```\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n## Screenshots\n\n*Examples of the date and time property editors respectively*\n![image](https://user-images.githubusercontent.com/3634580/89598990-8d74f800-d85e-11ea-8272-317dcfd3ce37.png)\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n## Date Picker\n\nThe date picker uses Umbraco's own date picker view, but ensures that the view is configured for selecting a date without any time. The property editor should be used in situations where only the date matters, and as such it returns an instance of [EssentialsDate](https://packages.skybrud.dk/skybrud.essentials/reference/time/essentialsdate/) instead of the normal `DateTime`.\n\nThe `EssentialsDate` class comes from our [**Limbo.Essentials** package](https://packages.skybrud.dk/skybrud.essentials/reference/time/essentialsdate/), which provides extended functionality for working with dates compared to `DateTime`.\n\nCalling the `ToString` method on said class will result in a string representation of the date formatted using the [**ISO 8601** date format](https://en.wikipedia.org/wiki/ISO_8601), which is `yyyy-MM-dd` - eg. `2020-08-07`. The same format is used when serializing the value using [Json.NET](https://www.newtonsoft.com/json).\n\nAs of this time, the date picker currently doesn't have any prevalues (data type configuration).\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n## Time Picker\n\nThe time picker uses a custom view for letting editors pick a time without any relation to a specific date. The picker returns an instance of `TimeOffset` representing the selected time, and the `Hours` and `Minutes` properties can be used to read the selected selected time.\n\nCalling the `ToString` method will result in a string representation of the date formatted as `HH:mm`. The `ToString` method is also used when serializing the value using [Json.NET](https://www.newtonsoft.com/json).\n\nThe output format of the `ToString` method can be controlled via the *Output format* prevalue option in the data type configuration. The format is that of the [TimeSpan](https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-timespan-format-strings) class in .NET. Notice that the format is different from that of the `DateTime` class, so a format like `hh\\:mm` will result is something like `15:45` (which for `DateTime` would have been `HH:mm`).\n\n![image](https://user-images.githubusercontent.com/3634580/89651798-c0ea6d80-d8c4-11ea-9061-2098428d8ee9.png)\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n## UNIX Timestamp\n\nThe UNIX timestamp property editor looks like the picker for date and time that ships with Umbraco, but instead of of saving the date and time as `DateTime` in the database, this property editor will save the date and time as a UNIX timestamp - which is the amount of seconds since the start of the UNIX epoch. And instead of `DateTime`, the property value type will instead be the [EssentialsTime](https://packages.skybrud.dk/skybrud.essentials/reference/time/essentialstime) class.\n\nAditionally, data types using this property editor may be configured to adjust the date and time to a specific time zone, which then is reflected in the `EssentialsTime` instance.\n\nCalling the `ToString` method on a `EssentialsTime` will result in a string representation of the date and time formatted using the [**ISO 8601** date time format](https://en.wikipedia.org/wiki/ISO_8601), which is `yyyy-MM-ddTHH:mm:ssK` - eg. `1988-08-17T08:37:00+02:00`. The same format is used when serializing the value using [Json.NET](https://www.newtonsoft.com/json).\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n## Opening Hours\n\nThe package features a custom property editor for specifying opening hours. Opening hours may be specified for the normal workday, also with support for multiple open time slots during the day. The property editor also allows adding special days that may be closed or having different opening hours.\n\nThe value of a property using this property editor will be an instance of [OpeningHoursModel](https://github.com/abjerner/Limbo.Umbraco.Time/blob/v13/main/src/Limbo.Umbraco.Time/Models/OpeningHours/OpeningHoursModel.cs), which offers various ways to format the opening hours - as well as doing additional calculations based on the entered opening hours, such as whether a store is currently open.\n\n![image](https://github.com/user-attachments/assets/8f2d30a2-948b-4267-b760-2321c237b74e)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabjerner%2Flimbo.umbraco.time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabjerner%2Flimbo.umbraco.time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabjerner%2Flimbo.umbraco.time/lists"}