npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@servicemind.tis/angular-date-time-picker

v1.0.3

Published

Angular Material date, time, and combined date-time picker components with dialog-based selection, 12/24-hour support, and configurable validation messages.

Readme

angular-date-time-picker

Angular Material date, time, and combined date-time picker components by Thai Informatics System. Each renders as a mat-form-field that opens a dialog-based picker, works with reactive forms, and takes configurable validation messages.

npm version npm downloads License: MIT


Components

| Selector | Component | Emits | |---|---|---| | <angular-date-picker> | AngularDatePickerComponent | dateChange: Date | | <angular-time-picker> | AngularTimePickerComponent | timeChange: string | | <angular-date-time-picker> | AngularDateTimePickerComponent | dateChange: Date |


Installation

npm install @servicemind.tis/angular-date-time-picker

Peer dependencies

npm install @angular/material @angular/cdk

Usage

import { AngularDateTimePickerModule } from '@servicemind.tis/angular-date-time-picker';

@NgModule({ imports: [AngularDateTimePickerModule] })
export class MyFeatureModule {}
<angular-date-picker
  label="Start date"
  [formControl]="startDate"
  dateFormate="DD/MM/YYYY"
  [required]="true"
  (dateChange)="onStartDateChange($event)">
</angular-date-picker>

<angular-time-picker
  label="Start time"
  [formControl]="startTime"
  timeFormat="12">
</angular-time-picker>

<angular-date-time-picker
  label="Appointment"
  [formControl]="appointment"
  timeFormat="24"
  [min]="today">
</angular-date-time-picker>

Inputs

Common to all three components:

| Input | Type | Default | Description | |---|---|---|---| | label | string | — | Field label | | placeholder | string | '' | Placeholder text | | classes | string | '' | Extra classes on the form field | | appearance | MatFormFieldAppearance | 'outline' | Material appearance | | hint | string | — | Hint text below the field | | validationMessages | ValidationMessages[] | [] | Error messages by validator type | | required | boolean | — | Marks the field required | | disabled | boolean | — | Disables the field | | isDisplayPickerLabel | boolean | false | Show the label inside the picker dialog |

Date and date-time only:

| Input | Type | Default | |---|---|---| | isLabelOutside | boolean | false | | dateFormate | string | 'DD/MM/YYYY' | | min / max | Date \| number | — |

Time and date-time only:

| Input | Type | Default | |---|---|---| | timeFormat | '12' \| '24' | '24' |

Time picker min / max are string values.


Validation messages

import { ValidationMessages } from '@servicemind.tis/angular-date-time-picker';

messages: ValidationMessages[] = [
  { type: 'required', message: 'Start date is required' },
  { type: 'matDatepickerMin', message: 'Date cannot be in the past' },
];
<angular-date-picker [validationMessages]="messages" [formControl]="startDate"></angular-date-picker>

License

MIT © Thai Informatics System Co., Ltd.