Decorated Time plugin
Plugin details
Documentation
This plugin decorates the time class with six new methods: short_weekday_name, abbreviated_weekday_name (like “Sun”), full_weekday_name (like “Sunday”),
short_month_name, abbreviated_month_name (like “Jan”), and full_month_name (like “January”).
examples
@apr_28_2001 = Time.local(2001, 4, 28, 10, 07, 03) @apr_28_2001.short_weekday_name @apr_28_2001.abbreviated_weekday_name @apr_28_2001.full_weekday_name @apr_28_2001.short_month_name @apr_28_2001.abbreviated_month_name @apr_28_2001.full_month_name
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: scott, 15 days ago

