intuit / intuit/common-xtext-expression-language

Add support to show dayOfWeek

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
easy enhancement
Dominant language
Java
Stars
11
Forks
6
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

The feature should provide the dayOfWeek for a given date

**Describe the solution you'd like**

Given a date (not the timestamp part), the feature should provide the day of the week -> dayOfWeek(input, format)
Open to other suggestions for the syntax
Format:
MM/dd/yyyy
yyyyMMdd
yyyy-MM-dd

Contributor guide

Open the contributing guide

Research direction

Review the existing expression-language functions and date handling to determine where a dayOfWeek(input, format) function belongs. Check the requested formats—MM/dd/yyyy, yyyyMMdd, and yyyy-MM-dd—and confirm that the result uses only the date portion. Done means a chosen syntax supports each listed format and returns the correct weekday.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.