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
node: 14.17.2
firebase-functions: 3.15.7
firebase-tools: 9.20.0
firebase-admin: 9.12.0
const functions = require("firebase-functions") module.exports.testFunc = functions.https.onCall((data, req) => ({ d: new Date() }))
Response must contain ISO formatted date. Like:
{ "result": { "d": "2021-10-12T13:11:44.977Z" } }
{ "result": { "d": {} } }
The text was updated successfully, but these errors were encountered:
Dates are not part of the encoding specification for the onCall API. This is still a reasonable feature request. I'll label it as such.
Sorry, something went wrong.
No branches or pull requests
[REQUIRED] Version info
node: 14.17.2
firebase-functions: 3.15.7
firebase-tools: 9.20.0
firebase-admin: 9.12.0
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Response must contain ISO formatted date. Like:
[REQUIRED] Actual behavior
Response must contain ISO formatted date. Like:
The text was updated successfully, but these errors were encountered: