dispatch:date-tools

v1.4.2Published 10 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Date Tools Build Status

This package provides timezone aware formatters. You can set the expected timezone and it will display the timezone if it is different from the device timezone.

##Usage

meteor add dispatch:date-tools

var expectedTimezone = 'America/New_York';
DateTools.setExpectedTimezone(expectedTimezone);

// You have granular control over updating the device timezone
DateTools.updateDeviceTimezone();

Checkout the example.

##Run tests

npm install -g velocity-cli
velocity test-package ./