LibSyncTime-1.0

Chat & Communication Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 11 Monthly Downloads
  • Supports: 4.2
  • 780 Total Downloads
  • Updated 8/17/2011 5:42:01 PM
  • Created 12/6/2010 6:26:38 AM
  • 0 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU Lesser General Public License version 3 (LGPLv3)
  • Newest File: r5
or

About LibSyncTime-1.0

LibSyncTime-1.0 is a light-weight solution that provides a server-side UNIX timestamp useful for synchronizing data across clients in multiple timezones or with non-synchronized system clocks.

LibSyncTime uses a single, simple API call:

LibSyncTime-1.0 API

curtime, uncertain = LibStub("LibSyncTime-1.0"):synctime()

Returns

curtime

This is the current server-side UNIX timestamp

uncertain

This boolean being true indicates that no second-level precision is guaranteed on the return value. This means that no time sync has been recieved and no server time change has been observed since UI load.

------------------------------------------------------------------------
r5 | stolenlegacy | 2011-08-17 22:41:57 +0000 (Wed, 17 Aug 2011) | 1 line
Changed paths:
   M /trunk/LibSyncTime-1.0/LibSyncTime-1.0.lua

Shortened addon message prefixes to conform with 4.1 prefix standards.
------------------------------------------------------------------------
r4 | stolenlegacy | 2011-01-11 07:34:52 +0000 (Tue, 11 Jan 2011) | 1 line
Changed paths:
   M /trunk/LibSyncTime-1.0/LibSyncTime-1.0.lua

Fixed a nil issue with trying to answer the users' own sync requests.
------------------------------------------------------------------------

Comments

Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Diablo III Giveaway

Enter Now!