We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current implementation of $logday automatically assumes GMT timezone for every logged day.
collector.on('collect', (message) => { const timestamp = new Date(message.createdAt); payload = { user_id: message.author.id, message: message.content, log_date: timestamp.toLocaleDateString('en-US'), }; });
Need to change how the message.createdAt gets parsed, while maintaining the formatting pre-PUT into DynamoDB.
message.createdAt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current implementation of $logday automatically assumes GMT timezone for every logged day.
collector.on('collect', (message) => { const timestamp = new Date(message.createdAt); payload = { user_id: message.author.id, message: message.content, log_date: timestamp.toLocaleDateString('en-US'), }; });
Need to change how the
message.createdAt
gets parsed, while maintaining the formatting pre-PUT into DynamoDB.The text was updated successfully, but these errors were encountered: