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

Day.locale() unusable #43

Open
mofashi998 opened this issue Dec 24, 2022 · 2 comments
Open

Day.locale() unusable #43

mofashi998 opened this issue Dec 24, 2022 · 2 comments

Comments

@mofashi998
Copy link

Day.locale() unusable

@g1eny0ung
Copy link
Member

Hi @mofashi998. Could u please provide a minimum reproducible example? This can help me check where the problem is.

@jungti1234
Copy link

Use it like this

import 'package:day/day.dart';
import 'package:day/i18n/ko_kr.dart' as ko_kr_locale;

void main() {
  Day.locale = ko_kr_locale.locale;

  final d = Day.fromString('2019-04-30T10:30:30.000Z');
}

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

No branches or pull requests

3 participants