
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
@bigbinary/neeto-time-zones
Advanced tools
 
A simple and lightweight NPM package for working with time zones. This package provides a human friendly timezone selector and utility functions for timezones.
You can install the package using yarn:
yarn add @bigbinary/neeto-time-zones
You should add the following to main.scss
file:
@import "@bigbinary/neeto-time-zones/dist/style.css";
import { NeetoTimezoneSelector } from "@bigbinary/neeto-time-zones";
const ReactComponent = () => {
const timezoneRef = useCallback(node => {
if (!(node !== null)) return;
new NeetoTimezoneSelector(node, {
elementId: "custom-selector-element",
className: "custom-selector-class",
initialValue: "initial-timezone",
position: "top",
onChange: (timezone) => {
console.log(timezone);
},
onHourFormatChange: (timeFormat) => {
console.log(timeFormat);
}
});
}, []);
return (
<div
ref={timezoneRef}
/>
);
};
import NeetoTimezoneSelector from "@bigbinary/neeto-time-zones/react";
const ReactComponent = () => {
return (
<NeetoTimezoneSelector
elementId="custom-selector-element"
className="custom-selector-class"
initialValue="initial-timezone"
position="top"
onChange={(timezone) => {
console.log(timezone);
}}
onHourFormatChange={(timeFormat) => {
console.log(timeFormat);
}}
/>
);
}
You can pass options as the second parameter to configure the timezone selector component.
timezone-selector
top
, bottom
. Default position is bottom
.import { ianaTimezoneToHumanReadable } from "@bigbinary/neeto-time-zones";
ianaTimezoneToHumanReadable("Asia/Calcutta") // => Indian Standard Time
ianaTimezoneToHumanReadable("America/New_York") // => Eastern Standard Time
ianaTimezoneToHumanReadable("Europe/Berlin") // => Central Standard Time
git clone git@github.com:bigbinary/neeto-time-zones.git
cd neeto-timezones/js
yarn install
yarn dev
A package is released upon merging a PR labeled as patch, minor, or major into the main branch. The patch label addresses bug fixes, minor signifies the addition of new features, and major denotes breaking changes, adhering to the principles outlined in Semantic Versioning (SemVer).
You can checkout the Create and publish releases workflow in GitHub Actions to get a live update.
FAQs
 
The npm package @bigbinary/neeto-time-zones receives a total of 525 weekly downloads. As such, @bigbinary/neeto-time-zones popularity was classified as not popular.
We found that @bigbinary/neeto-time-zones demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.