What you are talking about is 35 U.S.C. 102, which states that you cannot file a for a patent on something that has been known or in public use for more than a year from the date of filing. That's the U.S. law.
In many foreign countries, you may not obtain a patent if there has been ANY public use or knowledge prior to the filing date, even 1 day prior. However, this is country-specific, and further some countries handle patent applications that come to their offices via the PCT differently than they handle direct national applications.
Your best bet is to discuss your patent and application and plans with a local patent agent or patent attorney to determine who best to go about the application process without losing your rights to patent in other countries. Besides, even though you can, as an individual inventor, file and prosecute your own patent application (with the help of the patent office) in the U.S., the PCT rules are generally substantially more complicated, and the foreign office rules are also similarly complicated, so if you want to file in more than one country, you are best off retaining the services of a patent profesisonal.