Skip to content

About

๐Ÿ•’ A clock of the Eorzea time.

Topics

Resources

Code of conduct

Security policy

Stars

16 stars

Watchers

2 watching

Forks

Latest commit

ย 

History

315 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ•’ A clock of the Eorzea time

Install

$ npm install --save eorzea-time

or

$ yarn add eorzea-time

or

Download the eorzea-time.min.js from releases page

Usage

HTML

<!-- ... -->
<dl>
  <dt>eorzea time
  <dd><span id="eorzea-time"></span>
</dl>
<script src="eorzea-time.min.js"></script>
<script>
(function() {
  'use strict';

  var result = document.getElementById('eorzea-time');

  (function timer() {
    setTimeout(function() {
      var eorzeaTime = new EorzeaTime();
      result.textContent = eorzeaTime.toString();
    }, 1000 / 60);
  })();
})();
</script>
<!-- ... -->

Node

var EorzeaTime = require('eorzea-time');

var eorzeaTime = new EorzeaTime();
console.log(eorzeaTime.toString());

ES2015

import EorzeaTime from 'eorzea-time';

const eorzeaTime = new EorzeaTime();
console.log(eorzeaTime.toString());

License

MIT

FINAL FANTASY is a registered trademark of Square Enix Holdings Co., Ltd.
FINAL FANTASY XIV (c) 2010-2016 SQUARE ENIX CO., LTD. All Rights Reserved.

About

๐Ÿ•’ A clock of the Eorzea time.

Topics

Resources

Code of conduct

Security policy

Stars

16 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages