Page MenuHomePhorge

Remove PhutilPhtTestCase::getDateTranslations()
ClosedPublic

Authored by pppery on Jun 7 2024, 16:55.

Details

Summary

See my comment at T15815#17864. I don't think the translation extractor has any consumers other than the downstream translations extension, and I'd prefer to handle this issue there rather than upstream.

Test Plan

Read the code.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

pppery requested review of this revision.Jun 7 2024, 16:55

I cannot find getDateTranslations anywhere so I'm having the (probably very stupid) question where this function was called once upon a time (edit: oh well, I now realize it's a test case so I guess this just gets executed when running tests. sigh.).

No, it never was called anywhere. Read the HTML comment this commit deletes.

This situation is so bizarre that I dismissed it as inconceivable back in April when I was dealing with the downstream AM/PM exception, yet here we are.

This revision is now accepted and ready to land.Jun 7 2024, 19:04