
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
faraoman-angular-datepicker
Advanced tools
- Angular v1.2+ - MomentJS - Moment Timezone (If timezones are being used)
bower install angular-datepicker --save
npm install angular-datepicker --save
After the install add the js, css and the moment files to your page.
Add the following module to your page : datePicker
This fork of angular-datepicker contains several features.
timezone
attribute.<div date-picker></div>
<div date-picker timezone="Europe/London"></div>
<div date-picker timezone="Asia/Hong_Kong"></div>
min-date
and max-date
attributes, which they replace.<input date-time min-date="minDate">
<input date-time max-date="maxDate">
<input date-time min-date="minDate" max-date="maxDate">
format
atribute.
<input date-time format="yyyy-MM-dd HH:mm">
date-change
attribute containing a function name will cause this function to be called when the date changes in the picker.<input date-time date-change="changeDate">
minDate
: Earliest selectable date for this picker. Disabled if this value is falsy.maxDate
: Latest selectable date for this picker. Disabled if this value is falsy.minView
: Minimum zoom level for date/time selection. Disabled if this value is falsy.maxView
: Maximum zoom level for date/time selection. Disabled if this value is falsy.view
: Default zoom level for date/time selection. Set to default value if this value is falsy.format
: Format string used to display dates on the input field. Set to default value if this value is falsy.
date-picker
directive directly, it must be used on a date-time
input field.view
, minView
and maxView
fields are:
year
, month
, date
, hours
, minutes
.ID
attributes.
ID
then the information in this picker will be updated.ID
can be used, or an array of ID
s<input date-time id="pickerToUpdate">
$scope.$broadcast('pickerUpdate', 'pickerToUpdate', {
format: 'D MMM YYYY HH:mm',
maxDate: maxSelectableDate, //A moment object, date object, or date/time string parsable by momentjs
minView: 'hours',
view: false //Use default
});
$scope.$broadcast('pickerUpdate', ['pickerToUpdate', 'secondPickerToUpdate'], {
format: 'lll'
});
FAQs
- Angular v1.2+ - MomentJS - Moment Timezone (If timezones are being used)
The npm package faraoman-angular-datepicker receives a total of 2 weekly downloads. As such, faraoman-angular-datepicker popularity was classified as not popular.
We found that faraoman-angular-datepicker 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.