Metadata-Version: 1.1
Name: human-datetimedelta
Version: 0.3
Summary: Human readable datetime deltas
Home-page: https://github.com/colwilson/human-datetimedelta/
Author: Col Wilson
Author-email: tersecol@gmail.com
License: MIT License
Description: 
        Examples::
        
            from datetime import datetime, timedelta
        
            now = datetime.now()
            an_hour_ago = now - timedelta(hours=1)
            yesterday = now - timedelta(days=1)
            tomorrow = now + timedelta(days=1)
        
            import human
        
            print human.date(now)                      # 'now'
            print human.date(an_hour_ago)              # 'an hour ago'
            print human.date(an_hour_ago, short=True)  # '1h ago'
            print human.date(an_hour_ago, asdays=True) # 'today'
            print human.date(yesterday, short=True)    # 'yest'
            print human.date(tomorrow)                 # 'tomorrow'
        
        
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: datetime
