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

create string output with custom format #9

Open
bchurchill opened this issue May 16, 2016 · 0 comments
Open

create string output with custom format #9

bchurchill opened this issue May 16, 2016 · 0 comments

Comments

@bchurchill
Copy link
Owner

bchurchill commented May 16, 2016

Many date/time libraries will have a format() method that takes a string containing escape sequences, and then format the date according to that string. We might want, for example, escapes like this for this library:

%d  day of the month
%m  month
%y  year
%w  name of weekday
%H  hour
%M  minute
%S  second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant