This pull request addresses several improvements and changes to the /tasks command as outlined in issue #1234. Here are the key changes:
New Function to Retrieve Data from RDS Backend DB
A new function, getUserDetails, has been added to fetch data from the RDS backend database. This enhances the command's functionality by providing more up-to-date and accurate information.
Console Logging Improvements
console.log statements have been replaced with console.error where appropriate to make it easier to identify and address issues.
Removal of formatDate Utility Function
The formatDate utility function has been removed, as it is no longer needed. The code now uses the - Using javascript function for converting Unix timestamps to human-readable date formats. This change improves code consistency and readability.
Testing
Unit tests have been updated to cover the new functionality and ensure that the changes do not introduce any regressions.
Description
This pull request addresses several improvements and changes to the
/tasks
command as outlined in issue #1234. Here are the key changes:New Function to Retrieve Data from RDS Backend DB
getUserDetails
, has been added to fetch data from the RDS backend database. This enhances the command's functionality by providing more up-to-date and accurate information.Console Logging Improvements
console.log
statements have been replaced withconsole.error
where appropriate to make it easier to identify and address issues.Removal of
formatDate
Utility FunctionformatDate
utility function has been removed, as it is no longer needed. The code now uses the - Using javascript function for converting Unix timestamps to human-readable date formats. This change improves code consistency and readability.Testing
Screenshot