-
Notifications
You must be signed in to change notification settings - Fork 0
This rails plugin adds method to show custom time difference in hrs.mins format. Also adds an additional method for current financial week.
License
gsohoni/MiscHelper
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
MiscHelper ========== This helper plugin could be used for displaying time difference in hrs.mins format. Also the plugin makes available a method which displays the current financial week. Example ======= some view file (index.html.erb): <%= custom_distance_of_time(Time.now - 2.days, Time.now )%> would display 48.00 hrs. Current Financial Week : <%= current_financial_week %> would display the current financial week number (year starts in April) Copyright (c) 2010 [Gaurav Sohoni], released under the MIT license
About
This rails plugin adds method to show custom time difference in hrs.mins format. Also adds an additional method for current financial week.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published