How to use zener diode for negative voltages?
If you use your first diagram, substitute -12V for the +12V source and turn the Zener diode around the other way, you'll get a regulated -10V at the output node.

With your second diagram, the output node will be regulated to 10V above the -12V source, for a net value of -2V, which is probably not what you intended.