-
Notifications
You must be signed in to change notification settings - Fork 46
Custom date format
Michał Kawałko edited this page Apr 10, 2020
·
1 revision
From version 1.2.0 you can pass a createdDateDisplayFormat
parameter that is a DateFormat class. If you don't set it it will default to DateFormat("HH:mm • MM.dd.yyyy", 'en_US').
For more information on how to create a Date format please check this DateFormat documentation
TweetView.fromTweet(
Tweet.fromRawJson(
snapshot.data,
),
createdDateDisplayFormat: DateFormat("EEE, MMM d, ''yy"),
);
Custom date tweet |
---|