@geeeger/get-gmtn-local-date
TypeScript icon, indicating that this package has built-in type declarations

2.0.7 • Public • Published

get-gmtn-local-date

输入 unix 时间戳,生成某时区时间

Usage

import getGMTNLocalDate from '@geeeger/get-gmtn-local-date';

describe('@geeeger/get-gmt8-local-date module', () => {
  it('should be ', () => {
    expect(getGMTNLocalDate(Math.ceil(Date.now() / 1000), 8)).toBeInstanceOf(Date);
  });
});

Readme

Keywords

Package Sidebar

Install

npm i @geeeger/get-gmtn-local-date

Weekly Downloads

8

Version

2.0.7

License

ISC

Unpacked Size

1.67 kB

Total Files

4

Last publish

Collaborators

  • geeeger