positivist_date
Version, currently 0.1.13 versions
- 0.1.2latestJul 2, 2017
- 0.1.1not indexedJul 2, 2017
- 0.1.0not indexedJul 2, 2017
github.com/TPei/positivist_date
PostivistDate module to replace the traditional Time module for the positivist fans :D
Nothing has been indexed for 0.1.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
positivist_date:
github: TPei/positivist_date
version: ~> 0.1.1Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.1. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
positivist_date 
Implementation of the Positivist Calendar as an alternative to Crystal's Time
Installation
Add to your shard.yml
dependencies:
positivist_date:
github: tpei/positivist_date
branch: master
and then install the library into your project with
$ crystal deps
Usage
# Can be used as Time would be
pd = PositivistDate.new(224, 6, 13, 13, 37)
pd.hour # => 13
pd.saturday? # => true
# allows converting to time instance
pd.to_time # => #<Time:0x10c581fa0>
# PostivistDate instances can be created from Time instances
PositivistDate.from_time Time.now # => #<PositivistDate:0x1084f9f50>
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/tpei/positivist_date/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- tpei TPei - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.1- Tagged
- Jul 2, 2017
- Commit
cd4fcf649d00- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/TPei/positivist_date
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 3