Every person is liable to a fine not exceeding $2,000 who, being a parent or guardian or a person for the time being having the care of a child under the age of 14 years, leaves that child, without making reasonable provision for the supervision and care of the child, for a time that is unreasonable or under conditions that are unreasonable having regard to all the circumstances.