All Projects → saman → vue-moment-jalaali

saman / vue-moment-jalaali

Licence: other
Jalaali Moment.js filters for your Vue.js project

Projects that are alternatives of or similar to vue-moment-jalaali

imrc-datetime-picker
(Improved) React component datetime picker by momentjs 📆
Stars: ✭ 21 (-64.41%)
Mutual labels:  datetime, momentjs, jalaali
format-date
📆 A small library (around 400 B when gziped & minified) to format JavaScript `Date` object using same tokens as moment.
Stars: ✭ 25 (-57.63%)
Mutual labels:  datetime, momentjs
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 (+0%)
Mutual labels:  datetime, jalaali
Eztime
ezTime — pronounced "Easy Time" — is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.
Stars: ✭ 173 (+193.22%)
Mutual labels:  datetime
Node Geo Tz
A node.js module to find the timezone based on gps coordinates
Stars: ✭ 181 (+206.78%)
Mutual labels:  datetime
Pdd
📅 Tiny date, time diff calculator with piggybacked timers
Stars: ✭ 218 (+269.49%)
Mutual labels:  datetime
iso8601
A fast ISO8601 date parser for Go
Stars: ✭ 122 (+106.78%)
Mutual labels:  datetime
Datetimeseer
A painless way to pick future time.
Stars: ✭ 159 (+169.49%)
Mutual labels:  datetime
React Native Globalize
Internationalization (i18n) for React Native
Stars: ✭ 246 (+316.95%)
Mutual labels:  datetime
Blitz
Android Library: Set self-updating string with relative time in TextView (e.g. 5 minutes ago)
Stars: ✭ 217 (+267.8%)
Mutual labels:  datetime
Kronos.vim
A simple task and time manager. Project moved here:
Stars: ✭ 205 (+247.46%)
Mutual labels:  datetime
Date
A date and time library based on the C++11/14/17 <chrono> header
Stars: ✭ 2,389 (+3949.15%)
Mutual labels:  datetime
Jest Date Mock
🌗 Mock `Date` when run unit test cases with jest. Make tests of Date easier.
Stars: ✭ 224 (+279.66%)
Mutual labels:  datetime
Anydate
Swifty Date & Time API inspired from Java 8 DateTime API.
Stars: ✭ 178 (+201.69%)
Mutual labels:  datetime
Soulvercore
A powerful Swift framework for evaluating mathematical expressions
Stars: ✭ 245 (+315.25%)
Mutual labels:  datetime
Time
Building a better date/time library for Swift
Stars: ✭ 1,983 (+3261.02%)
Mutual labels:  datetime
Jiffy
Jiffy is a Flutter (Android, IOS and Web) date time package inspired by momentjs for parsing, manipulating, querying and formatting dates
Stars: ✭ 238 (+303.39%)
Mutual labels:  datetime
Vue Smooth Picker
🏄🏼 A SmoothPicker for Vue 2 (like native datetime picker of iOS)
Stars: ✭ 188 (+218.64%)
Mutual labels:  datetime
Dpicker
A framework-agnostic minimal date picker
Stars: ✭ 187 (+216.95%)
Mutual labels:  datetime
Go Naturaldate
Natural date/time parsing for Go.
Stars: ✭ 217 (+267.8%)
Mutual labels:  datetime

vue-moment-jalaali

Jalaali Moment.js filters for your Vue.js project. This project is based on vue-moment and moment-jalaali.

Installation

You can install it via NPM:

npm install vue-moment-jalaali

And require plugin like so:

Vue.use(require('vue-moment-jalaali'));

or load vue-moment-jalaali.min.js along with moment-jalaali.js the old fashioned way.

Usage

Simply set moment as the filtering function and you're good to go. At least one argument is expected, which the filter assumes to be a format string if the argument doesn't match any of the other filtering methods.

Vue.js 2.x.x

<span>{{ someDate | moment("jYYYY/jM/jD HH:mm") }}</span>
<!-- or create a new date from 'now' -->
<span>{{ new Date() | moment("jYYYY/jM/jD HH:mm") }}</span>

Vue.js 1.x.x

<span>{{ someDate | moment "jYYYY/jM/jD HH:mm" }}</span>
<!-- or create a new date from 'now' -->
<span>{{ new Date() | moment "jYYYY/jM/jD HH:mm" }}</span>

For more information, usage and format, you can see these repositories:

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].