Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(189 Kb)
Download
Updated: 09-06-12 04:49 AM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:09-06-12 04:49 AM
Created:02-19-09 04:03 AM
Downloads:19,088
Favorites:349
MD5:
Broker uClock  Popular! (More than 5000 hits)
Version: 3.3.6
by: Ethan Centaurai [More]
Broker uClock is the spiritual successor to my old FuBar uClock (which itself was a re-write of FuBar ClockFu), re-written using Ace-3.0 and LibDataBroker-1.1 for maximum efficiency.

Features:
- It can show realm time, local time, or UTC time in it's data feed (or all three!).
- It shows today's date aswell as realm time, local time and UTC time in the tooltip.
- It toggles the in-game Time Manager (stop watch, alarm clock etc) if clicked.
- It toggles GroupCalender (if installed) or the in-game Calendar if shift-clicked.

Options can be found in the dropdown menu, accessed by right-clicking the plugin.
- Choose which time format(s) you want shown in the data feed.
- Choose whether to show seconds or not.
- Choose whether to have the time shown in 12hr or 24hr format.

uClock will work on it's own, but you won't be able to see the data feeds without a Broker Display addon. I recommend Fortress and Titan Panel.

If you've found an error or would like to suggest a feature, please make a new ticket in the issues hub or leave a comment here.
Version 3.3.6
- Updated for Patch 5.0.4.

Version 3.3.5
- Updated for Patch 4.3.0.

Version 3.3.4
- Updated for Patch 4.2.0.
- Added an icon for Ampere.

Version 3.3.3
- Updated for Patch 4.1.0.

Version 3.3.2
- Fixed some stupid but major bugs. Many thanks to zaphon and doxxx for spotting these.
- Added a much requested Swap option which swaps the order of local time and server time in the display.

Version 3.3
- Updated for Patch 4.0.1.
- Re-written again to (hopefully) be even more efficient.
- Fixed a bug caused by Blizzard removing the "Show Clock" option in Patch 4.0.1.
- Removed unneeded libraries.

Version 3.2.3
- Updated for Patch 3.2.0.
- Library update.

Version 3.2.2
- Fixed calendar toggle for users with GroupCalendar version 5.

Version 3.2.1
- Added some more sounds for the hourly chime, recommended by Nandini.
- Fixed a bug which caused the hourly chime to play 60 times. Whoops.

Version 3.2
- Added an option to chime at the top of every hour. The chime sound is configurable.
- Added an option to show or hide Blizzard's minimap clock.
- Configuration has been moved to Blizzard's Interface Options frame.

Version 3.1.4
- The current month should no longer display as "26" for Korean clients.

Version 3.1.3
- Fixed a problem with Simplified Chinese translations not being registered.
- Fixed the names of weekdays not being translated for non-Korean clients.
- Fixed the names of months not being translated for non-English clients.

Version 3.1.2
- Added Korean (koKR), Simplified Chinese (zhCN) and Traditional Chinese (zhTW) translations. Thanks, Damjau and Sparanoid!

Version 3.1.1
- Added support for multiple localizations. Translators needed!

Version 3.1
- Added support for the UTC time format.
- Removed the text colour options, as most Broker Displays already have text colouring options.

Version 3.0.3
- Updated for Patch 3.1.0.

Version 3.0.2
- You can now choose to show local time, realm time, or both in the display.
- Restructured the tooltip slightly. Today's date is now shown at the top, with local and server times underneath.

Version 3.0.1
- Fixed the offset of "uClock" in the dropdown menu.
- Fixed a bug where the tooltip would remain shown when you open the dropdown menu.

Version 3.0
- Re-written to use Ace-3.0 and LibDataBroker-1.1.

Version 2.0.12
- Removed unused libraries to shrink download file size.

Version 2.0.11
- Added an icon (can be disabled).
- Added hints to the tooltip.
- Shift-clicking the plugin should now toggle GroupCalender if it is installed, or Blizzard's Calendar if not.

Version 2.0.9
- Bugfixes. Coding in the middle of the night is bad, m'kay?

Version 2.0.8
- Having the "Show Coloured Text" option enabled should now make the text white instead of FuBar's default yellow.

Version 2.0.7
- Updated for Patch 3.0.2.
- Added Server Time display. Game Time can now be found in the tooltip.
- Added options to show seconds and show 12hr format.
- Shift-clicking the plugin will now toggle Blizzard's Calendar.
- Right-clicking the plugin will show uClock's options frame.

Version 1.0.6
- Initial public release.
Optional Files (0)


Archived Files (16)
File Name
Version
Size
Author
Date
3.3.5
189kB
Ethan Centaurai
01-07-12 07:10 AM
3.3.4
189kB
Ethan Centaurai
08-10-11 02:43 PM
3.3.2
186kB
Ethan Centaurai
10-14-10 03:26 PM
3.3.1
184kB
Ethan Centaurai
10-13-10 12:45 PM
3.2.2
119kB
Ethan Centaurai
06-27-09 07:07 AM
3.2.1
119kB
Ethan Centaurai
05-20-09 01:13 PM
3.2
119kB
Ethan Centaurai
05-17-09 02:24 PM
3.1.4
34kB
Ethan Centaurai
05-09-09 03:10 PM
3.1.3
34kB
Ethan Centaurai
05-08-09 02:20 PM
3.1.2
34kB
Ethan Centaurai
05-07-09 12:53 PM
3.1.1
32kB
Ethan Centaurai
05-06-09 03:26 PM
3.1
29kB
Ethan Centaurai
05-03-09 02:12 AM
3.0.3
29kB
Ethan Centaurai
04-14-09 02:22 AM
3.0.2a
27kB
Ethan Centaurai
02-21-09 06:20 AM
3.0.1
27kB
Ethan Centaurai
02-20-09 03:52 PM
3.0
26kB
Ethan Centaurai
02-19-09 04:03 AM


Post A Reply Comment Options
Unread 10-13-10, 10:42 AM  
zaphon
A Defias Bandit

Forum posts: 2
File comments: 35
Uploads: 0
I'm having a problem with this on 4.0.1. When I logged in for the first time, it worked. Now every single time I login it just says "Loading..." and doesn't function at all. Any ideas why it would be doing this?

UPDATE: I found the problem. It was the following code

Code:
        if not db.showClock then
                if cataclysm then
                        TimeManagerClockButton:Hide()
                else
                        SetCVar("showClock", "0")
                        InterfaceOptionsDisplayPanelShowClock_SetFunc("0")
                end
        end
It was specifically the check for "cataclysm" that was failing. Simply getting rid of that and changing it to just this fixed the problem.

Code:
	if not db.showClock then
		TimeManagerClockButton:Hide()
	end
Last edited by zaphon : 10-13-10 at 11:28 AM.
zaphon is offline Report comment to moderator  
Reply With Quote
Unread 04-30-10, 08:32 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
This is a wonderful LDB plugin, thank you! The ability to open my GroupCalendar by clicking on this very nearly allows me to turn that gigantic clock on my minimap off; the problem is that if I do, I don't notice when I have outstanding event invitations anymore. Could you add in some way of notifying when there are new invites out? (Change the background color to yellow or something?) Or does anyone know of another LDB plugin I could use for that purpose?

Edit: I just modified my clock to have this functionality, if anyone's interested, as follows:

Change line #200 in Core.lua to
Code:
displayedTime = CalendarGetNumPendingInvites() > 0 and "|cffff8888" or ""
and change line #207 in Core.lua to
Code:
displayedTime = displayedTime .. (CalendarGetNumPendingInvites() > 0 and "|r" or "")
Woot! I can finally get rid of the giant time button on my minimap!
Last edited by Jzar : 06-24-10 at 09:29 AM.
Jzar is offline Report comment to moderator  
Reply With Quote
Unread 02-25-10, 03:08 PM  
Kupotek
A Deviate Faerie Dragon
 
Kupotek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 1081
Uploads: 7
Even with 24 hour unchecked it displays the time in 24 hour time?
__________________
KittyUI | My Home on the Web
Kupotek is offline Report comment to moderator  
Reply With Quote
Unread 01-29-10, 12:06 PM  
bossmansmith
A Murloc Raider

Forum posts: 4
File comments: 73
Uploads: 0
is it possible to color the AM / PM with class colors using some form of this?


local class = select(2, UnitClass("player"))
toColorCode(RAID_CLASS_COLORS[class]), "PM"
bossmansmith is offline Report comment to moderator  
Reply With Quote
Unread 09-16-09, 06:36 AM  
briped
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
The "show clock" checkmark for disabling the build-in Blizzard clock isn't saved across sessions, actually it doesn't seem to be saved within same session (checkmark is back when opening options second time, after having removed checkmark).
briped is offline Report comment to moderator  
Reply With Quote
Unread 09-07-09, 05:20 PM  
nightlith
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by cormanthor
I'll be downloading this once I get home. One feature I am looking for is the "Pending Invite" notification, which does not seem to be in your addon. Is there a way to use:
Code:
CalendarContextInviteIsPending(monthOffset, day, eventIndex)
- Returns true if the player hasn't responded to the event invite
Possibly make the text switch from [time] to "Invite" or something? Not sure if that is the right function, or even if I am going about this the right way.
I'm not a lua programmer, and I really wanted this as a feature so I looked into it. The function you want is "CalendarGetNumPendingInvites()" This is what I did:

In Core.lua, at the bottom in function uClock:UpdateStrings, after
Code:
local seconds = date("%S")
I added
Code:
local numInvites = CalendarGetNumPendingInvites()
(Is the () necessary here?)

Then after
Code:
displayedTime = displayedTime:gsub(" | $", "") -- remove trailing seperator
I added
Code:
if numInvites > 0 then displayedTime = "Invite" end
It not as efficient as I'm used to but it works awesomely!
nightlith is offline Report comment to moderator  
Reply With Quote
Unread 06-27-09, 12:39 PM  
heinzschen
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
Thanks a lot! Now it works fine.
heinzschen is offline Report comment to moderator  
Reply With Quote
Unread 06-27-09, 05:07 AM  
Ethan Centaurai
A Flamescale Wyrmkin
 
Ethan Centaurai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 138
File comments: 139
Uploads: 14
Ahh. I never knew about a Version 5 of GroupCalendar. I tried it with Version 4.5 available here on WoWInterface.

EDIT: Fixed in Version 3.2.2.
__________________

Twitter | Blog
Last edited by Ethan Centaurai : 06-27-09 at 07:07 AM.
Ethan Centaurai is offline Report comment to moderator  
Reply With Quote
Unread 06-27-09, 04:57 AM  
heinzschen
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
Sorry for this poor bug report...

1. There is an error (I tunerd off error messages...)

2. Nothing happens if I shift + klick on uClock

3. I use Broker_uClock v3.2.1 and GroupCalendar5 v5.0b4

4. My addons:
_Cursor
Ace2
ag_UnitFrames
Atlas
AtlasLoot
Bagnon
BanzaiAlert
Bartender4
BaudAuction
Broker2Fubar
Broker_CPU
Broker_RecountInfo
Broker_Refills
Broker_uClock
Cartographer
cAutoConfirm
Chatbar
ChatMOD
Chinchilla
CloseUp
DamnQuestIcons
DamnZoneText
DBM
DebuffAlarm
Decursive
EasyDND
EasyMail
EavesDrop
eePanels2
FishingBuddy
FollowMe
FuBar
Fubar_FactionsFu
Fubar_GarbageFu
Fubar_MoneyFu
GatherMate
GatherMate_Data
GoldenTicket
GroupCalendar5
Historian
ImproverCamera
LightHeaded
Livestock
LootHog
MalygosCP
MikScrollingBattleText
nochatframe
Omen
OPie
oRA2
Outfitter
PetListPlus
PoMTracker
PowerAuras
Quartz
QuestGuru
QuestHelper
RatingBuster
Recount
RecountGuessedAbsorbs
SatrinaBuffFrame
SellFish
Skillet
SmoothDurability
TipTac
ToolTipItemIcon
ToolTipItemInfo
Unami
UrbanAchiever
WatchCount
WIM
XLoot
XLootMaster
XLootGroup
XPerl

I updated all addons before I posted yesterday.

Thank you for help and sorry for my English - I'm from Germany..
heinzschen is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 10:44 AM  
Ethan Centaurai
A Flamescale Wyrmkin
 
Ethan Centaurai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 138
File comments: 139
Uploads: 14
Originally Posted by heinzschen
Does not work.
Why not?

I don't use GroupCalendar. I don't have psychic mind-reading powers.

I need more information than just "It doesn't work", i.e. Is there an error? Does it toggle Blizzard's Calendar instead?

EDIT: Just tried it myself and it works fine. Are you using the most up-to-date versions of GroupCalendar and Broker uClock?
__________________

Twitter | Blog
Last edited by Ethan Centaurai : 06-26-09 at 10:59 AM.
Ethan Centaurai is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 10:41 AM  
heinzschen
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
"It toggles GroupCalender (if installed)" - Does not work.
heinzschen is offline Report comment to moderator  
Reply With Quote
Unread 05-08-09, 03:33 PM  
Sparanoid
A Defias Bandit

Forum posts: 3
File comments: 57
Uploads: 0
Code:
L["%A, %B %d, %Y"] = "%Y年 %B %d日,%A"
Fixed the wrong date display format for Chinese clients
Sparanoid is offline Report comment to moderator  
Reply With Quote
Unread 05-07-09, 03:27 PM  
Ethan Centaurai
A Flamescale Wyrmkin
 
Ethan Centaurai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 138
File comments: 139
Uploads: 14
Thanks for the updated translations.

Originally Posted by Sparanoid
Weeks are translated, but still shown 'Friday' in my Chines client. (today is friday)
That's a bug which I have fixed. It will be included in the next release. The other days will show as English aswell.

Originally Posted by Sparanoid
No strings for months, still English in my clients.
I had a feeling this would happen, seeing as Damjau sent me translations of the weekdays. I'll work on a fix for this aswell.
__________________

Twitter | Blog
Ethan Centaurai is offline Report comment to moderator  
Reply With Quote
Unread 05-07-09, 03:10 PM  
Sparanoid
A Defias Bandit

Forum posts: 3
File comments: 57
Uploads: 0
here are the translations, but still some problems:

zhCN:
Code:
local L = LibStub("AceLocale-3.0"):NewLocale("uClock", "zhCN")
if not L then return end

-- time/date strings, please translate
L[" PM"] = " 下午"
L[" AM"] = " 上午"

L["%A, %B %d, %Y"] = "%Y 年 %B 月 %d 日,%A"

L["Monday"] = "星期一"
L["Tuesday"] = "星期二"
L["Wednesday"] = "星期三"
L["Thursday"] = "星期四"
L["Friday"] = "星期五"
L["Saturday"] = "星期六"
L["Sunday"] = "星期日"

-- tooltip strings
L["Today's Date"] = "当前日期"
L["Local Time"] = "本地时间"
L["Server Time"] = "服务器时间"
L["UTC Time"] = "UTC 时间(世界标准时间)"

L["|cffeda55fClick|r to toggle the Time Manager."] = "|cffeda55f点击|r 切换时间管理器."
L["|cffeda55fShift-Click|r to toggle the Calendar."] = "|cffeda55fShift-左键|r 切换日历."
L["|cffeda55fRight-Click|r for options."] = "|cffeda55f右键|r 打开选项."

-- option strings
L["Show Local Time"] = "显示本地时间"
L["Show Realm Time"] = "显示服务器时间"
L["Show UTC Time"] = "显示 UTC 时间"
L["24 Hour Mode"] = "24 小时模式"
L["Show Seconds"] = "显示秒数"
zhTW:
Code:
local L = LibStub("AceLocale-3.0"):NewLocale("uClock", "zhTW")
if not L then return end

-- time/date strings, please translate
L[" PM"] = " 下午"
L[" AM"] = " 上午"

L["%A, %B %d, %Y"] = "%Y 年 %B 月 %d 日,%A"

L["Monday"] = "星期一"
L["Tuesday"] = "星期二"
L["Wednesday"] = "星期三"
L["Thursday"] = "星期四"
L["Friday"] = "星期五"
L["Saturday"] = "星期六"
L["Sunday"] = "星期日"

-- tooltip strings
L["Today's Date"] = "當前時間"
L["Local Time"] = "本地時間"
L["Server Time"] = "伺服器時間"
L["UTC Time"] = "UTC 時間(世界標準時間)"

L["|cffeda55fClick|r to toggle the Time Manager."] = "|cffeda55f點擊|r 切換時間管理器."
L["|cffeda55fShift-Click|r to toggle the Calendar."] = "|cffeda55fShift-左鍵|r 切換日曆."
L["|cffeda55fRight-Click|r for options."] = "|cffeda55f右鍵|r 打開選項."

-- option strings
L["Show Local Time"] = "顯示本地時間"
L["Show Realm Time"] = "顯示伺服器時間"
L["Show UTC Time"] = "顯示 UTC 時間"
L["24 Hour Mode"] = "24 小時模式"
L["Show Seconds"] = "顯示秒數"
please copy and paste them all, i had some words changed in the old strings.

P.S.:
1. Weeks are translated, but still shown 'Friday' in my Chines client. (today is friday)

2. No strings for months, still English in my clients
Sparanoid is offline Report comment to moderator  
Reply With Quote
Unread 05-07-09, 12:51 PM  
Ethan Centaurai
A Flamescale Wyrmkin
 
Ethan Centaurai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 138
File comments: 139
Uploads: 14
Thank you Sparanoid!

Your translations have been included in the new release, but they have changed slightly since v3.1.1 was released so you may need to update them.

Originally Posted by cormanthor
I'll be downloading this once I get home. One feature I am looking for is the "Pending Invite" notification, which does not seem to be in your addon. Is there a way to use:
Code:
CalendarContextInviteIsPending(monthOffset, day, eventIndex)
- Returns true if the player hasn't responded to the event invite
Possibly make the text switch from [time] to "Invite" or something? Not sure if that is the right function, or even if I am going about this the right way.
I don't know if that's correct either. Besides, this is a clock addon, not a calendar notification addon. I'll look at how other addons do it (if any), but chances are I'll release a seperate addon (Broker_uCalendar?) to do this.

EDIT: Whoops, I forgot to add in Sparanoid's translations for the addons description in v3.1.2. I'll add these in the next upload.
__________________

Twitter | Blog
Ethan Centaurai is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.