Cloud Function deletes node instantly instead of after two hours based off timestamp (delete-old-child-nodes not working)
问题 I am trying to implement the "delete-old-child-nodes" Cloud Functions example (https://github.com/firebase/functions-samples/tree/master/delete-old-child-nodes). When the directory is written to, it should delete all nodes that are 2+ hours old. However, it just deletes all nodes no matter what. I found this StackOverflow post that describes the same issue. However, I believe the cause is different. The user was storing his timestamp in seconds, while the cutoff was in milliseconds. In my