Skip to content

[DatePicker]: support all operators #13636

@skowrons

Description

@skowrons

Feature Request Description

today, yesterday, and tomorrow are already supported, which is great. But the component should support all date "operators" that are defined here: https://github.com/SAP-docs/sapui5/blob/main/docs/06_SAP_Fiori_Elements/enabling-semantic-operators-in-the-filter-bar-fef65d0.md#setting-a-default-value-for-a-semantic-date-field

Proposed Solution

Single date input would be enough to start:

  • "YESTERDAY"
  • "TOMORROW"
  • "TODAY"
  • "FIRSTDAYWEEK"
  • "LASTDAYWEEK"
  • "FIRSTDAYMONTH"
  • "LASTDAYMONTH"
  • "FIRSTDAYQUARTER"
  • "LASTDAYQUARTER"
  • "FIRSTDAYYEAR"
  • "LASTDAYYEAR"

Proposed Alternatives

No response

Organization

No response

Additional Context

No response

Priority

Low

Privacy Policy

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions