Well, to me, fasting is really not such a big issue.
I am not sure what is the official stance on it as well.
Maybe the government just forbids any religious practices for government officials and schools?
Otherwise, it may have list A, B, C.... is allowed while Z, Y, X... is not allowed...