pluralize method

Hi,

The pluralize method does not seem to be working correctly.
pluralize(count, "Due Today")

gives me the following output:
2 Due Todays
1 Due Tomorrows
0 Past Dues
0 Due End of Weeks

It should have been:
2 Due Today
1 Due Tomorrow
0 Past Due
0 Due End of Week

Regards,
Pratik

The pluralize method does not seem to be working correctly.
pluralize(count, "Due Today")

gives me the following output:
2 Due Todays
1 Due Tomorrows
0 Past Dues
0 Due End of Weeks

It should have been:
2 Due Today
1 Due Tomorrow
0 Past Due
0 Due End of Week

It's working. You just found an example where it doesn't make sense for your application. The plural of "week" is "weeks", etc...

It doesn't seem to me like you want to pluralize it... just print it out with your label after it... ???

@Ar Chron exactly my thoughts, couldn’t have been put better :D.

Thanks & Regards,
Dhruva Sagar.

Charles de Gaulle - “The better I get to know men, the more I find myself loving dogs.”

Oh! am sorry, its so insane of me :slight_smile: