All Projects → Mds92 → mds-angular-datetime-picker-package

Mds92 / mds-angular-datetime-picker-package

Licence: other
Angular 2+ And Bootstrap 4+ DateTimePicker

Programming Languages

typescript
32286 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mds-angular-datetime-picker-package

PersianTools.Core
Persian Tools for .Net and .Net Core
Stars: ✭ 25 (+38.89%)
Mutual labels:  datetime, persian, persiandatetime
react-calendar-datetime-picker
A simple and fast date and time picker component for React
Stars: ✭ 58 (+222.22%)
Mutual labels:  datetime, persian, persian-calendar
PersianDateRangePicker
Select range of date and time in the Persian
Stars: ✭ 41 (+127.78%)
Mutual labels:  datetime, persian, persian-calendar
vue3-date-time-picker
Datepicker component for Vue 3
Stars: ✭ 157 (+772.22%)
Mutual labels:  datetime, datetimepicker
material-ui-datetimepicker
[UNMAINTAINED] Wrapper for Material UI Date and Time picker components
Stars: ✭ 32 (+77.78%)
Mutual labels:  datetime, datetimepicker
React Date Range
A React component for choosing dates and date ranges.
Stars: ✭ 2,052 (+11300%)
Mutual labels:  datetime, datetimepicker
shamsi date
A Flutter and Dart package for using Jalali (Shamsi, Solar, Persian or Jalaali) calendar. You can convert, format and manipulate Jalali and Gregorian (Miladi) date and times.
Stars: ✭ 59 (+227.78%)
Mutual labels:  datetime, persian
Persiantools
Jalali date and datetime with other tools
Stars: ✭ 57 (+216.67%)
Mutual labels:  datetime, persian
Vue Datetime
Mobile friendly datetime picker for Vue. Supports date and datetime modes, i18n and more.
Stars: ✭ 928 (+5055.56%)
Mutual labels:  datetime, datetimepicker
Md.persiandatetime
A C# library to use PersianCalendar as easy as DateTime
Stars: ✭ 68 (+277.78%)
Mutual labels:  datetime, persian
Tail.datetime
A lightweight, translat- and configurable Open Source DateTime Picker, written in pure vanilla JavaScript!
Stars: ✭ 139 (+672.22%)
Mutual labels:  datetime, datetimepicker
Angular Bootstrap Datetimepicker
Native Angular date/time picker component styled by Twitter Bootstrap
Stars: ✭ 1,289 (+7061.11%)
Mutual labels:  datetime, datetimepicker
hawking
A Natural Language Date Time Parser that Extract date and time from text with context and parse to the required format
Stars: ✭ 168 (+833.33%)
Mutual labels:  datetime, datetimepicker
Jedate
jeDate V6.5.0 是一款原生JS开发的 不依赖任何第三方库 大众化的日期控件,她身兼多职,虽不是万能的,但是她却是功能强大多样的美少女,她除了包含 单双面板、区域选择、 多语言、日历固定、有效无效日期、日期时间戳转换、日期加减、限制时分秒、初始化日期加减N、日期标注点、设定年月(YYYY-MM)、日期范围限制、开始日期设定、自定义日期格式、当天的前后若干天返回、时分秒选择、智能响应、自动纠错、节日识别,操作等常规功能外,根据不同的日期格式,显示不同内容,还拥有更多趋近完美的解决方案。更多的是需要你与她的亲密接触与呵护!
Stars: ✭ 433 (+2305.56%)
Mutual labels:  datetime, datetimepicker
svelty-picker
Simple date & time picker in svelte
Stars: ✭ 38 (+111.11%)
Mutual labels:  datetime, datetimepicker
Tempus Dominus
A powerful Date/time picker widget.
Stars: ✭ 6,900 (+38233.33%)
Mutual labels:  datetime, datetimepicker
gahshomar
A Persian (Jalali/Farsi) calendar for Linux
Stars: ✭ 69 (+283.33%)
Mutual labels:  persian, persian-calendar
DNTPersianComponents.Blazor
A collection of Persian components for Blazor
Stars: ✭ 27 (+50%)
Mutual labels:  persian, persian-calendar
Rc Datetime Picker
React component for datetime picker by Moment.js
Stars: ✭ 85 (+372.22%)
Mutual labels:  datetime, datetimepicker
MoalemYar
A personal project for class management, using various technologies like WPF, Entityframwork, CodeFirst, Sqlite, Migration and more
Stars: ✭ 53 (+194.44%)
Mutual labels:  persian, persian-calendar

Mds Angular 6+, Bootstrap 4+ Persian and Gregorian DateTimePicker

Persian and gregorian DateTimePicker with Angular 6+ and AngularMaterials 6+ and Bootstrap 4+

Installing package via npm:

npm install mds.angular.datetimepicker@latest

Demo


Mds Angular Persian and Gregorian DateTimePicker Mds Angular Persian and Gregorian DateTimePicker


How To Use:

  1. First add import to your module,
import { MdsAngularPersianDateTimePickerModule } from 'mds.angular.datetimepicker';

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, MdsAngularPersianDateTimePickerModule],
  providers: [], 
  bootstrap: [AppComponent]
})
export class AppModule { }
  1. Install Requirements: You can install these packages as follows:
npm install mds.persian.datetime
npm install @angular/material @angular/cdk
npm install @angular/animations
npm install jquery
npm install popper.js
npm install bootstrap

Guidance: You can add bootstrap and jquery to your angular 6+ project as follows: Open angular.json add these lines

 "styles": [
    "node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
    "node_modules/bootstrap/dist/css/bootstrap.min.css",
    "src/styles.css"
  ],
  "scripts": [
    "node_modules/jquery/dist/jquery.min.js",
    "node_modules/popper.js/dist/umd/popper.min.js",
    "node_modules/bootstrap/dist/js/bootstrap.min.js"
  ]
  1. Add to view:
    <mds-angular-persian-datetimepicker [(ngModel)]="mdsDateTimePickerObject"
      [inLine]="false" [placeHolder]="'Mds DateTime Picker'"> 
    </mds-angular-persian-datetimepicker>

Options

Name Type Values Description
isPersian boolean true, [false] Is date time picker persian or gregorian
timePicker boolean true, [false] Is time picker enable
templateType Enumeration 1, [2] You can choose how your date time picker generate
In materials you have animations
1 = bootstrap
2 = material
inLine boolean false, [true] Show date time picker as in line in page
textBoxType Enumeration 1, [2] If you choose [inLine]="false" it shows a textbox as picker
You can choose how should it shows
1 = withButton
2 = withoutButton
placeHolder string Place holder of text box
buttonIcon string Icon of datepicker button
Sample:
<span class="fa fa-calendar" aria-hidden="true"></span>
Default is 📅
rangeSelector boolean false, [true] Is date picker range selector
format string format string Format of showing date time
فرمت پیش فرض 1393/09/14 13:49:40
yyyy: سال چهار رقمی
yy: سال دو رقمی
MMMM: نام ماه
MM: عدد دو رقمی ماه
dddd: نام روز هفته
dd: عدد دو رقمی روز ماه
HH: ساعت دو رقمی با فرمت 00 تا 24
hh: ساعت دو رقمی با فرمت 00 تا 12
mm: عدد دو رقمی دقیقه
ss: ثانیه دو رقمی
fff: میلی ثانیه 3 رقمی
ff: میلی ثانیه 2 رقمی
tt: ب.ظ یا ق.ظ

Events

Name Description
dateChanged(date: IMdsAngularDateTimePickerDate) Occurs whenever selected date change
rangeDateChanged(rangeDate: IMdsAngularDateTimePickerRangeDate) Occurs whenever selected range date change
keyDown(event: IEventModel) Occurs whenever keydown event fires on datepicker text box
blur(event: IEventModel) Occurs whenever blur event fires on datepicker text box
focus(event: IEventModel) Occurs whenever focus event fires on datepicker text box

Sample

<mds-angular-persian-datetimepicker (dateChanged)="mdsDatePicker2OnDateChange($event)" (rangeDateChanged)="mdsDatePicker1OnDateRangeChange($event)"  [isPersian]="false" [templateType]="1" [rangeSelector]="true">
</mds-angular-persian-datetimepicker>

https://github.com/Mds92/Mds92.github.io/tree/master/MdsDateTimePickerSample

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].