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

not possible to call initializeDateFormatting('pt_BR',null) as described in pub.dev #856

Open
insinfo opened this issue Jul 11, 2024 · 4 comments
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@insinfo
Copy link

insinfo commented Jul 11, 2024

it is not possible to call initializeDateFormatting('pt_BR',null) as described in pub.dev because in intl-0.19.0 it is requiring a second filePath argument (which I don't know what it is)

image

image
Dart SDK version: 3.2.1 (stable) (Wed Nov 22 08:59:13 2023 +0000) on "windows_x64"

@insinfo insinfo added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Jul 11, 2024
@Igor0155
Copy link

Igor0155 commented Aug 6, 2024

Certifica que o import seja do local:

import 'package:intl/date_symbol_data_local.dart';

@insinfo
Copy link
Author

insinfo commented Aug 6, 2024

I ended up discovering this on my own, but ideally this would be better documented in the intl package.

@mosuem
Copy link
Member

mosuem commented Aug 7, 2024

@insinfo Yeah, the different initializeDateFormatting are pretty confusing. Any idea where this should best be documented? I would be happy to add some help around this frequent issue, and you might know best given that you recently ran into this.

@mosuem
Copy link
Member

mosuem commented Aug 7, 2024

Feel free to point out where you would look, or file a PR directly :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

3 participants