Skip to content

New Field Type : Duration #6014

@poirazis

Description

@poirazis

Problem

There are times when you need to save the Duration of say an event. The Time field cannot cater to this need, as the it's purpose is to pinpoint to a specific time in the 24 day. The Duration Field would be able to hold values of any Duration of time. For example assume we have an event that lasted 3days 1hr 35min.

Lets say we have a field EventStart : DateTime and an EventEnd : DateTime, the EventDuration field would be able to hold the value of EventEnd - EventStart.

Another example would be when we have a lets say Event like Burning Man. We would be able to set the Duration of the Event.

Proposed Solution

The proposed solution would be to add a Duration Field type which will keep its value in seconds elapsed and when displayed the value would be presented formatted in different ways.

This could be core functionality, or part of an Pods Extended Field Types Component as a collection of additional Field Types.

Metadata

Metadata

Labels

Type: EnhancementEnhancements to features that already exist, but are not major additions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions