Thread Tools Display Modes
06-11-15, 05:09 AM   #1
gempir
A Black Drake
 
gempir's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 84
Blizzard Minimap Clock 24h format

Hi I'm using the Blizzard_TimeManger to get a working Clock in my game

Lua Code:
  1. if not IsAddOnLoaded("Blizzard_TimeManager") then
  2.   LoadAddOn("Blizzard_TimeManager")
  3. end


Now my problem is that I can't format the clock to a 24h format. My code for the clock looks like this:

Lua Code:
  1. local clockFrame, clockTime = TimeManagerClockButton:GetRegions()
  2.     clockFrame:Hide()
  3.     clockTime:SetFont("Interface\\Addons\\WrathsUI\\media\\fonts\\square.ttf", 14, "THINOUTLINE")
  4.     clockTime:SetTextColor(1,1,1)
  5.     TimeManagerClockButton:SetPoint("CENTER", UIParent, "TOPRIGHT", -95, -196)
  6.     TimeManagerClockButton:EnableMouse(false)
  7.     clockTime:Show()

Is the 24h format achieveable or is it an ingame option that I am missing?

Thanks friends
  Reply With Quote
06-11-15, 06:20 AM   #2
gempir
A Black Drake
 
gempir's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 84
Thanks you very much. That worked perfectly.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Blizzard Minimap Clock 24h format


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off