suffix doesn't result with the correct results for 11, 12, 13
expected result: 11th, 12th, 13th NOT 11st, 12nd, 13rd
msg3 {
Vagabond[+],
posted: 03.30.09 11a•03.30.09 11a,
top [^]
}
When I implement this prototype (and the pad prototype you linked) I get the following errors:
**Error** Line 43: There is no method with the name 'pad'.
gmtOffset = ((-tZOffset >= 0) ? "+" : "-") + (Math.floor((Math.abs(tZOffset) / 60) / 60) * 100).pad(4);
**Error** Line 44: There is no method with the name 'getTimeZoneOffset'.
dayLight = (this.getTimeZoneOffset() < new Date(fullYear, monthNum - 6).getTimeZoneOffset()) ? 1 : 0;
Total ActionScript Errors: 2 Reported Errors: 2
I included the pad prototype in the same AS file as this prototype and I even tried including it within the prototype definition itself, but neither worked.
Also, the detailed instructions link leads to a 404