{"size": 718, "ext": "js", "max_stars_repo_path": "node_modules/moment-timezone/tests/pacific/norfolk.js", "max_stars_repo_name": "harishvc/twitter-stream-analytics", "max_stars_repo_stars_event_min_datetime": "2015-07-21T19:43:43.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-19T15:30:04.000Z", "max_issues_repo_path": "node_modules/moment-timezone/tests/pacific/norfolk.js", "max_issues_repo_name": "harishvc/twitter-stream-analytics", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/moment-timezone/tests/pacific/norfolk.js", "max_forks_repo_name": "harishvc/twitter-stream-analytics", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 6, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 51.2857142857, "max_line_length": 152, "alphanum_fraction": 0.6490250696}
var moment = require("../../index");

exports["Pacific/Norfolk"] = {

	"1950" : function (t) {
		t.equal(moment("1950-12-31T12:47:59+00:00").tz("Pacific/Norfolk").format("HH:mm:ss"), "23:59:59", "1950-12-31T12:47:59+00:00 should be 23:59:59 NMT");
		t.equal(moment("1950-12-31T12:48:00+00:00").tz("Pacific/Norfolk").format("HH:mm:ss"), "00:18:00", "1950-12-31T12:48:00+00:00 should be 00:18:00 NFT");

		t.equal(moment("1950-12-31T12:47:59+00:00").tz("Pacific/Norfolk").zone(), -672, "1950-12-31T12:47:59+00:00 should be -672 minutes offset in NMT");
		t.equal(moment("1950-12-31T12:48:00+00:00").tz("Pacific/Norfolk").zone(), -690, "1950-12-31T12:48:00+00:00 should be -690 minutes offset in NFT");

		t.done();
	}
};