Sha256: 84a92a9e7bb78497b6e643d3298019ec5be595a50faa59b11a3222b0e3749c8f

Contents?: true

Size: 563 Bytes

Versions: 2

Compression:

Stored size: 563 Bytes

Contents

# strftime

It's pronounced "strftime", not "strftime".

With strftime you'll have descriptions of time format directives at your fingertips in Ruby.

`Strftime::Directive.all` contains an array of these directive objects
holding a key, description and example.

Just use `Strftime::Directives['%M']` to get a description and example, or use the shorthand method `strfd '%M'`

    Strftime::Directives['%M'].description #=> 'Minute of the hour'

This might be useful for you, or for users of a system which are able to specify string formats for dates and times.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
strftime-2.0.0.beta README.md
strftime-2.0.0.alpha README.md