Get an Epic Experience with Premium

LibSyncTime-1.0

Chat & Communication Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 6 Monthly Downloads
  • Supports: 5.0.4
  • 1,136 Total Downloads
  • Updated 09/03/2012
  • Created 12/06/2010
  • 0 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU Lesser General Public License version 3 (LGPLv3)
  • Newest File: r7
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.

------------------------------------------------------------------------
r7 | stolenlegacy | 2012-09-03 17:44:15 +0000 (Mon, 03 Sep 2012) | 1 line
Changed paths:
   M /trunk/LibSyncTime-1.0/LibSyncTime-1.0.lua

Changed MINOR in LibSyncTime-1.0.lua to always be @project-revision@ (using packager keyword substitution).
------------------------------------------------------------------------
r6 | stolenlegacy | 2012-09-03 17:40:08 +0000 (Mon, 03 Sep 2012) | 1 line
Changed paths:
   M /trunk/LibSyncTime-1.0/LibSyncTime-1.0.lua
   M /trunk/LibSyncTime-1.0.toc

Fixed for MoP API changes (thanks Dridzt).
------------------------------------------------------------------------
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.
------------------------------------------------------------------------

Comments

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 »

Leaguepedia PAX Skin Giveaway