Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new DateUtils methods #19

Merged
merged 5 commits into from
Mar 25, 2024
Merged

Add new DateUtils methods #19

merged 5 commits into from
Mar 25, 2024

Conversation

lfortunier
Copy link
Contributor

No description provided.

src/Utils/DateUtils.php Outdated Show resolved Hide resolved
src/Utils/DateUtils.php Outdated Show resolved Hide resolved
src/Utils/DateUtils.php Outdated Show resolved Hide resolved
Base automatically changed from math_utils to main March 25, 2024 10:57
Louis Fortunier added 3 commits March 25, 2024 12:02
…nDateTimes`, `isNighttime`, `getLastDayMonth`, `getLastDayPreviousMonth`, `getFirstDayNextMonth`, `getFirstDayMonth`, `getNextBirthdayDateTime`, `getFormattedLongMonth`, `getFormattedLongMonthYears`, `getFormattedShortMonthYears`, `addDays`, `subDays`, `addMonths`, `subMonths`, `addYears`, `subYears` + change method name "Datetime" to "DateTime"
…tNbOfWorkingDaysBetweenDatetime to getNbOfWorkingDaysBetweenDateTimes and rename params
src/Utils/DateUtils.php Outdated Show resolved Hide resolved
src/Utils/DateUtils.php Outdated Show resolved Hide resolved
src/Utils/DateUtils.php Outdated Show resolved Hide resolved
src/Utils/DateUtils.php Show resolved Hide resolved
src/Utils/DateUtils.php Outdated Show resolved Hide resolved
src/Utils/DateUtils.php Outdated Show resolved Hide resolved
Louis Fortunier added 2 commits March 25, 2024 14:22
… + update getFirstDayNextMonth -> getFirstDayNextMonthFromDateTime + pass locale as parameter in getFormattedLongMonth and getFormattedLongMonthYears
@mathieu-ducrot mathieu-ducrot merged commit 1c772b9 into main Mar 25, 2024
1 check passed
@mathieu-ducrot mathieu-ducrot deleted the date_utils branch March 25, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants