I was on my world offline on the game menus (day) and when i finish and close the game menus it was night and I was killed by a mob. I was on the last update Minecraft 1.14.40 Hotfix and my world was offline !
(Not in 1.14.30 Hotfix but the actual version isn't in the list)
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue in MCPE-21221, so I resolved and linked this ticket as a duplicate.
That ticket has already been resolved, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki