New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hublot_ar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hublot_ar

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Hublot Arabic

Hublot makes Facebook-style datetime-contextual datetimes a cinch for your ActiveRecord objects.

Examples

Comment created just now:
الآن
Comment created seconds or minutes ago
منذ ١٠ ثواني
منذ ٢ دقيقه
Comment created today
اليوم، الساعه ٥:٣٠ م
Comment created yesterday
الأمس، الساعه ٥:٣٠ م
Comment created this week
الأحد، الساعه ٥:٣٠ م
Comment created last week
الأحد الماضي، الساعه ٥:٣٠ م

Use

gem "hublot_ar"

Call the pretty method in your views:

<%= @comment.created_at.pretty %>

Sources

This gem is forked from brettshollenberger/Hublot. Some localization ideas were extracted from Azzurrio/hublot.

FAQs

Package last updated on 26 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc