Pizza Hut has apologized after a Florida store circulated an announcement saying employees would be disciplined for fleeing Hurricane Irma outside of a narrow time window.

An announcement posted in a Jacksonville, Florida, store as Irma barreled toward the state was shared on Reddit this weekend and quickly made the rounds on social media. The posting spelled out the circumstances under which workers would be allowed to evacuate, and threatened to discipline them if they did not work their scheduled shifts.

Pizza Hut says "Our #1 Priority is the safety of our team" Doesn't look that way from the rules its low-wage workers face on evacuating Irma pic.twitter.com/xOjl6LlPOK — Steven Greenhouse (@greenhousenyt) September 11, 2017

"Our #1 priority is the safety and security of our team," the announcement began, before noting the store's "responsibility and commitment to our community to be there when they need us." It then issued some guidelines for employees working before the storm.

Get Breaking News Delivered to Your Inbox

"We close stores 6-12 hours before storm hits," the memo read. It continued: "You cannot evacuate Friday for a Tuesday storm event!"

"Failure to show for these shifts, regardless of reason, will be considered a no call/no show and documentation will be issued," it read.

Jacksonville's mayor issuing a mandatory evacuation order on Friday, requiring people to leave parts of the city by Saturday.

According to Pizza Hut's memo, employees would be allowed a "24 hour period" to leave; in the event of an evacuation order, they would be "required to return within 72 hours." The precise time the memo was posted was not certain.

The posting was roundly mocked on social media, where users lambasted the pizza chain for subjecting its workers to potential danger. Leaving only a small window of time to evacuate is risky -- especially as a natural disaster threatens -- because supplies may run out and roadways can be clogged with traffic.

can you imagine the horror.. "Mayor, how's the recovery going?" "There's been no loss of life. But Pizza Hut isn't open & we needed them!" — That Law Guy Kev (@ThatLawGuyKev) September 12, 2017

Requiring anyone to work until 6 hours before a deadly storm is unacceptable. — Samuel Mengelkoch (@MengelkochSam) September 12, 2017

Other posters threatened to boycott Pizza Hut for the notice.

In response, Pizza Hut issued a statement reading, in part: "We absolutely do not have a policy that dictates when team members can leave or return from a disaster, and the manager who posted this letter did not follow company guidelines." The company also said that "the local franchise operator has addressed this situation with the manager involved."

Hurricane Irma caused record flooding in Jacksonville Monday, with floodwaters reaching three feet in some areas of the coastal city.

Despite the restaurant chain's disavowal, the posting highlights the precarious position of many fast-food workers, most of whom lack job protections and could easily be fired, without recourse. Meanwhile, some food establishments build a reputation on their ability to stay open during disasters, with the most famous being Waffle House.