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

Set custom date format to any Clock skin. #180

Open
milosic5 opened this issue Oct 18, 2019 · 3 comments
Open

Set custom date format to any Clock skin. #180

milosic5 opened this issue Oct 18, 2019 · 3 comments
Assignees

Comments

@milosic5
Copy link

Is there any method to set custom date format of any Clock skin?

@HanSolo
Copy link
Owner

HanSolo commented Oct 18, 2019

do you need a specific format or dependent on the locale? Setting the locale should have an effect as far as I remember...will check at the weekend

@milosic5
Copy link
Author

milosic5 commented Oct 21, 2019

Yes, I need specific custom date format which is not dependent on locale. For example instead of dots to put any sign or to remove seconds or hours or mins and for (YYYY-DD-MM) to be custom visible, orderable etc.

@HanSolo
Copy link
Owner

HanSolo commented Oct 21, 2019

Ok so could add a custom date formatstring property where you can pass the formatString e.g. „dd.MM.YYYY“ and another property to switch the use of this customDateFormatString on/off.
In a first step you then could create your own skin where you make use of the customDateFormatDateString. Your custom skin can be a fork from an existing skin with additional functionality. If you tell me the skin where you need the behavior I could also add it to this skin so that you don‘t need to fork an existing skin.

@HanSolo HanSolo self-assigned this Oct 21, 2019
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

2 participants