A federal judge in the Western District of New York should not have granted summary judgment to Home Depot in a religious discrimination claim brought by a worker who said his faith barred him from working on Sundays, a federal appeals court ruled last week.

A unanimous panel of the 2nd U.S. Circuit Court of Appeals said the trial court had incorrectly concluded that the store’s offer to require the worker, Bradley Baker, to work only Sunday afternoons and evenings was a sufficient attempt to accommodate his religious beliefs.