Skip to content

Beta 0.30 Bug: Dayjs locale cannot be changed #964

@b-a-b-i-s

Description

@b-a-b-i-s

Describe the bug
Dayjs is not externalized in rollup configuration options, and as a result, the dayjs locale used in Timeline cannot be changed.

To Reproduce

Code: https://codesandbox.io/p/devbox/nostalgic-currying-c92smn?workspaceId=ws_5sShTGVVdpwiaXok3xYmZW

Adding the following code before the usage doesn't change Timeline texts to Greek.

import 'dayjs/locale/el'

dayjs.locale('el')

Expected behavior
Months and day of the week names should display using the dayjs locale language.

For example:
Image

Library Version
0.30.0-beta.3

Desktop:

  • OS: Windows
  • Browser chrome
  • Version 136.0.7103.114

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions