Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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 172 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.