Skip to content

Conversation

@sshah135
Copy link

I've made valuable improvements to the timelydiff function. Firstly, I enhanced error handling to provide clearer messages for invalid input. Now, if someone tries to use the function with a timestamp in the wrong format or if the length parameter is not a string, they'll get a helpful error message.

Moreover, I added a fantastic feature – users can now customize the date format! Whether they prefer the default format, 'dd/mm/yyyy', or 'mm/dd/yyyy', they have the flexibility to choose. This enhancement makes the function more user-friendly and adaptable to different needs.

I've thoroughly tested these changes on a separate branch ('enhance-timelydiff') to ensure a smooth integration. I believe these enhancements will make the timelydiff function even more versatile and user-friendly.

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

Successfully merging this pull request may close these issues.

1 participant