Skip to content

no effect of moment.locale('ja') #22

Description

@hryktrd

Hi.

I use multiple-date-picker-angular on angular8 project.
I want to change language to japanese day and month letter.

But, I wrote this in component that use date picker

import * as moment from 'moment';
import 'moment/locale/ja';
moment.locale('ja');

it have no effect.

And then, I wrote this in dist/multiple-date-picker.component.js directly,

var moment = require("moment/moment");
moment.locale('ja');

under require moment.
letters of month and day are changed to japanese.

Any other way to change locale?

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions