dayjs / day.dart

⏰ Day.js in dart. Day.dart is inspired by Day.js. Write with nearly the same API. Build on the top of the powerful DateTime class.
https://pub.dev/packages/day
MIT License
70 stars 3 forks source link

Day.locale() unusable #43

Open mofashi998 opened 1 year ago

mofashi998 commented 1 year ago

Day.locale() unusable

g1eny0ung commented 1 year ago

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

jungti1234 commented 1 month ago

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');
}