mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Stock 1.12.1 already defines DAYS_ABBR/HOURS_ABBR/MINUTES_ABBR/ SECONDS_ABBR (bare labels: "Day"/"Hr"/"Min"/"Sec") and the four *_ONELETTER_ABBR. Our enUS.lua loads after FrameXML, so redefining them with the modern "%d |4Day:Days;" format silently overwrote the native values and broke any native/other-addon code reading the bare labels. Remove those redefinitions from enUS.lua (keep only the strings stock genuinely lacks), and drop SecondsToTime / SecondsToTimeAbbrev / FormatUnit from TimeUtil — they were the only consumers of the modern-format _ABBR strings. SecondsToClock stays (uses the stock-missing HOURS_MINUTES_SECONDS / MINUTES_SECONDS). Remaining enUS entries sorted, all still have live consumers.