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

Change Format #9

Open
nzala opened this issue Dec 7, 2016 · 5 comments
Open

Change Format #9

nzala opened this issue Dec 7, 2016 · 5 comments
Labels

Comments

@nzala
Copy link

nzala commented Dec 7, 2016

Can i change Format f CalendarView like
https://camo.githubusercontent.com/4896da076522a1187ebaadc747ed7d437393adab/68747470733a2f2f7261772e6769746875622e636f6d2f6a6a6f6265732f536c6964654461746554696d655069636b65722f6d61737465722f73637265656e73686f74732f312e706e67

using dd and MMM instead CalendarView

@J-Jamet
Copy link
Member

J-Jamet commented Dec 7, 2016

Sorry but your link doesn't work.
The CalendarView is the unique view for calendar, if you want listView for day and month you can do it easily.
If you want to change format of label use

// Define new day and month format
try {
    dateTimeFragment.setSimpleDateMonthAndDayFormat(new SimpleDateFormat("dd MMMM", Locale.getDefault()));
} catch (SwitchDateTimeDialogFragment.SimpleDateMonthAndDayFormatException e) {
    Log.e(TAG, e.getMessage());
}

@nzala
Copy link
Author

nzala commented Dec 7, 2016

i am Sorry for it
68747470733a2f2f7261772e6769746875622e636f6d2f6a6a6f6265732f536c6964654461746554696d655069636b65722f6d61737465722f73637265656e73686f74732f312e706e67

pls check

i want in listView for day and month in words eg
mon Dec 5,
tue Dec 6,
today,
thu Dec 8......

@J-Jamet
Copy link
Member

J-Jamet commented Dec 7, 2016

OK it's better! :p this view isn't implemented, I tried to respect the conventions of Material Design, it's for me a deprecated view. But if you want to create it you can, I can merge it with the main code and add an option to select one or the other.

@nzala
Copy link
Author

nzala commented Dec 8, 2016

i meant abut only the way of displaying listView for day and month in words eg
mon Dec 5,
tue Dec 6,
today,
thu Dec 8.

Leave the View
I to respect Material Design 👍

@J-Jamet
Copy link
Member

J-Jamet commented Dec 8, 2016

I see what you mean. But in header we have only TextView and for "Month and Day" it can be changed by a SimpleDateFormat because each language is different. A format file would already be needed for each language (I'll do it if I have time). In the case of listView, all cases would have to be managed, it would take a very long time. This is possible but not a priority for me :/ Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants