-
-
Notifications
You must be signed in to change notification settings - Fork 2
Add format DATEw. #83
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chen: A POSIXt is an R datetime stamp. It has a date component. I think you can format with your DATEw formats also. You can test it with Sys.time(). If you convert to a date first like this as.Date(Sys.time()) then you can format just like the Date class. For test cases, you can use as.POSIXct() and pass a text string.
dbosak01
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add documentation to the "Formatting Strings" section of fmtr.R. There is already a section there concerning dates. Maybe you can add after that. Make it different than the documentation for fapply(). It helps to explain things in different ways.
dbosak01
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, great job. I like it a lot. I think we should do the SAS time formatting next.
|
MacOS action is broken. Not your fault. I'll review anyway. |
Add DATEw. format to replicate SAS format DATEw. , fixing #77
Also, the test cases and documentation of DATEw. are added.