June 14, 1777 Flag Resolution of 1777 / Flag Act of 1777
Jan 13, 1794 Flag Act of 1794 (15 stars and 15 stripes)
April 4, 1818 Flag Act of 1818
(restored 13 stripes and new star for each state added July 4)
June 24, 1912 President Taft signed Executive Order establishing the flag's proportions.
wiki Flag Acts of the US does link to the legislation
https://en.wikipedia.org/wiki/Flag_Acts_(United_States)
ushistory provides a chart of the US Flags thru history and changes
https://www.ushistory.org/betsy/flagfact.html
the Revenue Service or so-called "Civilian" with vertical stripes was never codified as an official United States flag. It was the agency flag of the Cutter and Revenue Service so ships coming into port could distinguish the Customs House. The vertical stripped flag is a tax collection flag and could not imagine a few people refer to it as the real official flag.
"I pledge allegience to the Tax Collector and the Debt for which it stands…