https://github.com/fnando/ar-timestamptz
Make ActiveRecord's PostgreSQL adapter use timestamptz as datetime columns.
https://github.com/fnando/ar-timestamptz
activerecord datetime postgres postgresql rails timestamptz
Last synced: about 1 year ago
JSON representation
Make ActiveRecord's PostgreSQL adapter use timestamptz as datetime columns.
- Host: GitHub
- URL: https://github.com/fnando/ar-timestamptz
- Owner: fnando
- License: mit
- Created: 2016-04-09T13:54:08.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T18:00:59.000Z (over 3 years ago)
- Last Synced: 2025-03-29T05:51:15.430Z (about 1 year ago)
- Topics: activerecord, datetime, postgres, postgresql, rails, timestamptz
- Language: Ruby
- Homepage:
- Size: 36.1 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ar-timestamptz
[](https://github.com/fnando/ar-timestamptz)
[](https://codeclimate.com/github/fnando/ar-timestamptz)
[](https://rubygems.org/gems/ar-timestamptz)
[](https://rubygems.org/gems/ar-timestamptz)
Make ActiveRecord's PostgreSQL adapter use timestamptz as datetime columns.
## Installation
```bash
gem install ar-timestamptz
```
Or add the following line to your project's Gemfile:
```ruby
gem "ar-timestamptz"
```
## Usage
That's it! You don't have to configure anything.
## Maintainer
- [Nando Vieira](https://github.com/fnando)
## Contributors
- https://github.com/fnando/ar-timestamptz/contributors
## Contributing
For more details about how to contribute, please read
https://github.com/fnando/ar-timestamptz/blob/main/CONTRIBUTING.md.
## License
The gem is available as open source under the terms of the
[MIT License](https://opensource.org/licenses/MIT). A copy of the license can be
found at https://github.com/fnando/ar-timestamptz/blob/main/LICENSE.md.
## Code of Conduct
Everyone interacting in the ar-timestamptz project's codebases, issue trackers,
chat rooms and mailing lists is expected to follow the
[code of conduct](https://github.com/fnando/ar-timestamptz/blob/main/CODE_OF_CONDUCT.md).