shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
315 stars 50 forks source link

By default, datetime on a data table should come formatted to not show the time #1347

Open ihouvet opened 1 month ago

ihouvet commented 1 month ago

Overview

Most of the time when a date time property is utilized the end-user does not care about the time portion, for example Date of birth. by default the time portion should therefore be hidden when a daytime property is displayed on a table.

Acceptance Criteria

  1. When a date column is added to a table in bound to a DateTime property, the time portion should be hidden by default unless it is for one of the audit properties, such as CreatedTime and ModifiedTime.
  2. The configurator should have the option of displaying the time portion if required.
hlayisanimazuze commented 1 month ago

This is the current behavior on the datefield component. When you drag and drop the component, show time property is set to false by default. A user would have to set it to true when required