Persian date support in Rails applications

- 1 min

While developing an application in a programming language, most of application functionalities have close relation to Date and Time. All programming languages have enough facilities to work with it, The problem will be appear in areas that they do not use Gregorian Calendar.

I used to develop my application in PHP language. There is a plenty of libraries to support Persian Calendar in PHP. The first time i migrated to Ruby and Ruby on Rails, lack of Persian Calendar support was one of my serious concerns. I decided to develop a simple gem which i can use in my Rails applications to show dates in Persian Calendar format. Therefore, rails-pdate project created.

Until now, every functionality that i needed in my applications have been developed. It is mainly used to develop Persian Calendar plugin for Redmine. (I will publish this project as open source if project owner grants me the permission)

I will elaborate more on rails-pdate in future.

Mohsen Alizadeh

Mohsen Alizadeh

I am a Software Developer living in Frankf.
My interests span Backend Development with Ruby On Rails && Elixir, System Architecture Design, Sytem Reliability, and System Scalability.

rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora