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

fix(deps): update dependency @date-io/date-fns to v2 #877

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@date-io/date-fns 1.x -> 2.x age adoption passing confidence

Release Notes

dmtrKovalenko/date-io

v2.16.0

Compare Source

What's Changed

Full Changelog: dmtrKovalenko/date-io@v2.15.0...v2.16.0

v2.15.0

Compare Source

What's Changed

Full Changelog: dmtrKovalenko/date-io@v2.14.0...v2.15.0

v2.14.0

Compare Source

What's Changed

New Collaborator

Full Changelog: dmtrKovalenko/date-io@v2.13.2...v2.14.0

v2.13.2

Compare Source

What's Changed

New Contributors

Full Changelog: dmtrKovalenko/date-io@v2.13.1...v2.13.2

v2.13.1

Compare Source

v2.11.0

Compare Source

Features

  • parseISO – will parse date using library method to avoid inconsistencies between browsers
  • toISO – will format date to iso string using library

Fixes/Enhancements

  • Better "AM/PM" localisation with dayjs

v2.10.11

Compare Source

Changelog

  • Make days adapter to be generic and accept any custom extended days instance as DayJsAdapter<Dayjs>
  • Update a lot of dependencies

v2.10.8

Compare Source

v2.10.7

Compare Source

Changelog

Some bugfixes and dependency updates:

v2.10.6

Compare Source

This release is finally fixing the problem of outdated builds of published date-io/* releases.

We apologize 🙏 for this publishing issues causing 2.10.0-2.10.5 releases. If you installed any of these versions please update to the latest, those builds are broken and deprecated on npm.

From now on versions of @date-io/* will always be synchronized with @date-io/core package and will never cause version conflict or be outdated.

v2.10.5

Compare Source

v2.10.4

Compare Source

v2.10.2

Compare Source

v2.10.0

Compare Source

Features

v2.9.2

Compare Source

v2.9.1

Compare Source

v2.8.1

Compare Source

Features

  • Add lib name to the adapter interface

Fixes

  • Remove prettier import, closes #​442
  • [Luxon] Properly apply locale for parsed and created date (#​443)
  • A lot of dependency updates

v2.8.0

Compare Source

v2.6.2

Compare Source

v2.6.1

Compare Source

Breaking changes

N/A

Fixes

v2.6.0

Compare Source

Breaking changes

N/A

Features

  • Introduce new getFormatHelperText method (#​340)

Fixes

v2.5.0

Compare Source

Breaking changes

N/A

Features

New functions:

  • isWithinRange: (date: TDate, range: [TDate, TDate]) => boolean
  • addMonths: (date: TDate, monthCount: number) => TDate

v2.4.0

Compare Source

Add 2 new functions:

  • startOfWeek(date: TDate): TDate - returns start of week
  • endOfWeek(date: TDate): TDate - returns end of week

v2.3.0

Compare Source

Changes

  • Add new toJsDate function converting lib object to native js date

v2.2.0

Compare Source

Localization improvements release

We have changed the formats tokens to use localized formats tokens everywhere possible. Also introduced several new methods and formats

List of new methods added:

  • is12HourCycleInCurrentLocale(): boolean - determine is 12 hours cycle and ampm used in current locale
  • getCurrentLocaleCode - get locale code

v2.1.0

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source

Major upgrade

Do not update if you are using @​material-ui/pickers v3

Breaking changes
  • Remove all static format fields like dateTimeFormat
  • Introduce new object for cross utils formatting. It is overridable via constructor formats prop and provides easy localization formatting
export interface DateIOFormats {
  /** Full date, useful for accessibility @&#8203;example "2019, January 1st" */
  fullDate: string;
  /** Day format string extremely required to localize @&#8203;example "Wed, Jan 1st" for US, "January 1st" for Europe */
  normalDate: string;
  /** Shorter day format @&#8203;example "Jan 1st" */
  shortDate: string;
  /** Year format string @&#8203;example "2019" */
  year: string;
  /** Month format string @&#8203;example "January" */
  month: string;
  /** Short month format string @&#8203;example "Jan" */
  monthShort: string;
  /** Short month format string @&#8203;example "January 2018" */
  monthAndYear: string;
  /** Month with date format string @&#8203;example "January 1st" */
  monthAndDate: string;
  /** Day format string @&#8203;example "12" */
  dayOfMonth: string;
  /** Full time format string @&#8203;example "11:44 PM" */
  fullTime12h: string;
  /** Full time format string @&#8203;example "23:59" */
  fullTime24h: string;
  /** Hours format string @&#8203;example "11" */
  hours12h: string;
  /** Hours format string @&#8203;example "23" */
  hours24h: string;
  /** Minutes format string @&#8203;example "59" */
  minutes: string;
  /** Seconds format string @&#8203;example "59" */
  seconds: string;
  /** Date & Time format string @&#8203;example "2018, Jan 1st 11:44 PM" */
  fullDateTime12h: string;
  /** Date & Time format string @&#8203;example "2018, Jan 1st 23:44" */
  fullDateTime24h: string;
  /** Keyboard input friendly date format @&#8203;example "2019/01/01" */
  keyboardDate: string;
  /** Keyboard input friendly date/time 12h format @&#8203;example "2019/01/01 23:44" */
  keyboardDateTime12h: string;
  /** Keyboard input friendly date/time 24h format @&#8203;example "2019/01/01 11:44 PM" */
  keyboardDateTime24h: string;
}
  • format method now has signature (date: TDate, formatKey: keyof IDateIOFormat) => string in order to simplify formatting using new format keys
  • formatByString allowes to use custom (mostly user-provided) format strings formatByString(value: TDate, formatString: string): string;

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency @date-io/date-fns to v2 fix(deps): update dependency @date-io/date-fns to v2 Mar 12, 2022
@renovate renovate bot changed the title fix(deps): update dependency @date-io/date-fns to v2 Update dependency @date-io/date-fns to v2 Sep 27, 2022
@renovate renovate bot changed the title Update dependency @date-io/date-fns to v2 fix(deps): update dependency @date-io/date-fns to v2 Jan 30, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Mar 21, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@ahal ahal closed this Apr 23, 2024
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