Photo from Mariz Umali's Facebook account.

MANILA - Netizens have called out President-elect Rodrigo Duterte for supposedly violating an ordinance in Davao City after he wolf-whistled a television reporter during a press conference.

In some posts in social networking site Twitter, people are citing Davao City's Gender and Development Code, which prohibits catcalling.

Compliment? Then why is wolf-whistling then is prohibited under Davao City Ordinance Section 8.11 ? https://t.co/jObNVOC35t — Derek Ramsay Bolton (@jxhnstphnclvl) June 2, 2016

Thats it, Tatang namn, may ordinance nga dito sa Davao yang ganyan. Ugh! 😑, but still Support ghapon. 😐 https://t.co/DbcwiPbD6U — Brry Mnl Rcnl (@justArc20) June 2, 2016

so apparently, the anti-catcalling ordinance also exists in Davao... exempted siya ganern?? https://t.co/yrsQfq4tHq — misadventuresㅤㅤㅤ (@rheaIity) June 2, 2016

Ironic how DU30 catcalled Mariz Umali when there's a city ordinance in Davao protecting women from sexual harrassment. Hays — Stephen Pales (@palesstephen) June 2, 2016

The City Ordinance No. 5004 or "An Ordinance Providing for a Women's Development Code of Davao City, and for Other purposes," approved by then Davao City Mayor Benjamin De Guzman on October 14, 1997, lays down the general provisions and basic principles of the law. It is available for download on Davao City's official website.

Under Chapter II (Developmental concerns), Article 1 (Violence against Women), Section 8 states that forms of sexual harassment other than the definition provided by RA 7877 or the Anti-Sexual Harassment Act of 1995 include "whistling."

"11. Cursing, whistling or calling a woman in public with words having dirty connotations or implications which tend to ridicule, humiliate or embarrass the woman such as "puta", "boring", "peste," etc."

Duterte boasted of the same City Ordinance in the last presidential debate, saying Davao City is the only city in the Philippines with a women's code.

PiliPinas Debate: Duterte defends track record on women's rights

On Tuesday, Duterte drew flak for wolf-whistling GMA-7 reporter Mariz Umali during a press conference in Davao City.

But presidential spokesman Salvador Panelo earlier explained that Duterte's action can't be construed as an immoral conduct. He said the incoming president's action only shows that he is fond of the TV reporter.

Umali's husband, co-journalist Raffy Tima however took offense, describing the president-elect's action as "wrong in so many levels."

READ: Duterte's wolf-whistling a compliment - Panelo