A library for working with Jalali Calendar (a.k.a Persian Calendar)
Branch: master
Clone or download
mehdisadeghi Merge pull request #13 from monster-web/master
add %P for meridian indicator
Latest commit 1ec5bc5 Dec 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin updating some dev dependencies, cleaned up some specs Apr 8, 2013
lib
spec Update rspec and tests. Nov 27, 2017
.gitignore using bundler, code clean up Dec 24, 2010
.travis.yml Add travis file Nov 27, 2017
Gemfile using bundler, code clean up Dec 24, 2010
Gemfile.lock Bump to v0.3.6 Nov 27, 2017
LICENSE removed duplicates in gemspec Jan 10, 2011
README.md Write how to test Nov 27, 2017
Rakefile
TODO could be initialized with Time and DateTime objects, more options for… Jan 6, 2011
jalalidate.gemspec

README.md

Jalali Date Library

Install

$ gem install jalalidate

Tests

Simply run rspec command in the source directory:

$ rspec

History

0.3.3 - 17.SEP.2013

  • added %n formatter for numeric representation of a month, with leading zeros, courtesy of Mohsen Alizadeh

0.3.2 - 8.APR.2013

0.3.1 - 26.APR.2011

  • Added ruby 1.9 compatibility, courtesy of Reza

0.3 - 6.JAN.2011

  • JalaiDate could be initialized with Time and DateTime objects
  • More options for strftime method %H,%M,%S,%X,%Z,%I,%p. read docs for more information
  • Added jdate and jcal binaries to access jcal from the command-line
  • Updated some documentations
  • Now using bundler

0.2 - 25.FEB.2010

  • Renamed the gem from JalaliDate to jalalidate
  • Added spec and a full test suite
  • Updated gemspec file for rubygems.org
  • Updated some documentations

0.02 - 8.AUG.2008

  • Added jalali to geregorian date convertor.
  • Added JalaliDate class and ported Date class method to JalaliDate

0.01 - 7.AUG.2008

  • Planning the project

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2008-2011 Allen A. Bargi. See LICENSE for details.