0.0
No commit activity in last 3 years
No release in over 3 years
Helper method for printed copyright dates, like `Copyright 1999-2012`
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 2.0
~> 5.8
~> 0.10
~> 10.0
~> 0.34
 Project Readme

Copyrighter

Gem Version Dependency Status Build Status Code Climate Coverage Status

Handy way to print out copyright dates, like in a footer.

Examples

The following examples assume it's 2012

© 2012
=> "2012"

This will automatically change to "2012 – 2013" next year!

# © will take an integer
© 1999
=> "1999 – 2012"
# or a range
© 1492..1566
=> "1492 – 1566"

You can also provide an optional second argument, which will be used to join the string

© 1999, " to "
=> "1999 to 2012"