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

toString with string format missing #11

Closed
bitomule opened this issue May 28, 2015 · 1 comment
Closed

toString with string format missing #11

bitomule opened this issue May 28, 2015 · 1 comment

Comments

@bitomule
Copy link
Contributor

Readme files shows method:

date.toString(format:"YYYY")

but it's not included in code.

@malcommac
Copy link
Owner

It should be:

toString(format: DateFormat.Custom("YYYY"))

DateFormat types includes AltRSS,RSS,ISO and Custom format (a string as above).
Fixed ReadMe.

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