<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/bug_report.md --> <!-- Thank you for contributing to the Firebase community! Think you found a bug? ======================= Yeah, we're definitely not perfect! Please use this template and include a minimal repro when opening the issue. If you know how to solve the issue, please create a Pull Request, and we'd be happy to review it! Have a feature request? ======================== Great, we love hearing how we can improve our products! However, do not use this template to submit a feature request. Please submit your feature requests to: https://firebase.google.com/support/contact/bugs-features/ Have a usage question? ======================= We get lots of those and we love helping you, but GitHub is not the best place for them and they will be closed. Please take a look at the guide first: https://firebase.google.com/docs/cli/ If the official documentation doesn't help, try asking through our official support channel: https://firebase.google.com/support/ Additional locations to check for solutions or assistance from the community: - Stack Overflow: https://stackoverflow.com/ - Firebase Slack Community: https://firebase.community/ *Please avoid duplicate posting across multiple channels!* --> Invalid value for publishTime. I use this publishTime to determine retry timeouts, so I don't want this to break. ### [REQUIRED] Environment info <!-- What version of the Firebase CLI (`firebase-tools`) are you using? Note that your issue may already be fixed in the latest versions. The latest version can be found at https://github.com/firebase/firebase-tools/releases --> <!-- Output of `firebase --version` --> **firebase-tools:** 13.13.2 <!-- e.g. macOS, Windows, Ubuntu --> **Platform:** Mac OS 14.4 ### [REQUIRED] Test case <!-- Provide a minimal, complete, and verifiable example (http://stackoverflow.com/help/mcve) --> ```typescript const example = onMessagePublished( { topic: 'example', timeoutSeconds: 540, memory: '2GiB', retry: true, }, (event: CloudEvent<MessagePublishedData>) => { console.log(event.data.message.publishTime); //1970/01/01 00:00:00 }, ); ``` ### [REQUIRED] Steps to reproduce Start the emulator with the following command and call pubsub. `firebase emulators:start` <!-- Provide the steps needed to reproduce the issue with the above test case. --> ### [REQUIRED] Expected behavior The date and time will be the PUBLISHED date and time. In addition, as a supplement, the current date and time are entered for 1gen. <!-- What is the expected behavior? --> ### [REQUIRED] Actual behavior <!-- Run the command with --debug flag, and include the logs below. --> publishTime is 1970/01/01 00:00:00