Skip to content
This repository was archived by the owner on Jul 4, 2020. It is now read-only.

Conversation

@ihcsim
Copy link
Contributor

@ihcsim ihcsim commented Dec 14, 2012

Hi Michael,

I've added some date-related helper methods. If you deem these as useful additions, feel free to merge them into the project:

DateHelper.strToDate() // convert string to date
DateHelper.dateToStr() // convert date to string
DateHelper.todayDate() // get today's date
DateHelper.yesterdayDate() // get yesterday's date
DateHelper.tomorrowDate() // get tomorrow's date
DateHelper.applyPattern() // change the date pattern

Thanks.

@MichaelKohler
Copy link
Owner

That looks awesome, pretty nice idea! Would you mind fixing the 3 nits above in a new commit? Then I will merge this 👍

@ihcsim
Copy link
Contributor Author

ihcsim commented Dec 14, 2012

Done. I shouldn't need to create a new pull request, right? I'm still new to this stuff. Thanks, Michael for sharing the codes. Have a good weekend.

@MichaelKohler
Copy link
Owner

Awesome, I will merge it right away. Thanks!

MichaelKohler added a commit that referenced this pull request Dec 14, 2012
Date-Related Helper Methods
@MichaelKohler MichaelKohler merged commit 9120d1b into MichaelKohler:master Dec 14, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants