An earthquake of magnitude 2.1 and depth of 20.80 kilometers occurred 12.29 miles from Yosemite Valley, CA in Mariposa County at 04:00 PM.