
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
timezone-picker
Advanced tools
timezone-picker is the plugin to select and get timezone value of selected area from WorldMap.
npm install --save timezone-picker
Include the following lines of code in the section of your HTML.
<script type="text/javascript" src="[yourpath]/jquery.min.js"></script>
<script type="text/javascript" src="[yourpath]/timezone-picker.js"></script>
Select any dom element where you want to create map.
$(selector).timezonePicker();
First parameter takes timezone string for example: 'Asia/Kolkata' (zone name). Second parameter is optinal when 1st parameter is zonename
$(selector).data('timezonePicke').setValue('Asia/Kolkata')
When you want to pass offset value as 1st parameter 2nd parameter should be 'offset'
$(selector).data('timezonePicke').setValue('5.5','offset')
When you want to pass country code as 1st parameter 2nd parameter should be 'country'
$(selector).data('timezonePicke').setValue('IN','country')
It returns object containing timezone details of seleted area:
$(selector).data('timezonePicke').getValue()
Sameple returned Object
[
{
"selected":true,
"zonename":"IST",
"offset":5.5,
"pin":"361,115",
"country":"LK",
"timezone": "Asia/Colombo",
},
{
"zonename":"IST",
"offset":5.5,
"pin": "373,94",
"country":"IN",
"timezone": "Asia/Kolkata",
}
]
It is available under the MIT LICENSE
FAQs
Select your timezone using world map
The npm package timezone-picker receives a total of 226 weekly downloads. As such, timezone-picker popularity was classified as not popular.
We found that timezone-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.