jenkinsci / jenkinsci/date-parameter-plugin

Get the date of last month's last day

Open
#10 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18
Forks
22
PR merge metrics
No merged PRs in 30d

Description

### Feature Request

I want to get the previous month end date.

```kotlin
LocalDate.now().minusMonths(1).withDayOfMonth(LocalDate.now().minusMonths(1).lengthOfMonth())
// 2021-05-31
```

Could you adjust `StringLocalDateValue` Class for this feature?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.