-
Notifications
You must be signed in to change notification settings - Fork 92
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
Fixes, improvements, samples #117
Conversation
echo "PubNub Timetoken: " . $result->getTimetoken() . PHP_EOL; | ||
|
||
// Calculate and display the Unix timestamp (seconds) | ||
$unixTimestamp = floor($result->getTimetoken() / 10000000); |
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.
Can 10000000 be extracted to constant with meaningful name?
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.
i guess maybe but it's just an example. And even our docs don't name it in any way. it's jus 10M
@pubnub-release-bot release |
🚀 Release successfully completed 🚀 |
fix: Added missing information in file publish endpoint
docs: Basic usage examples have been added