• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

paulfurley / python-utcdatetime
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: add-utcdatetime-date-method
DEFAULT BRANCH: master
Repo Added 01 May 2015 11:07AM UTC
Files 5
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH add-as-timezone-method
branch: add-as-timezone-method
CHANGE BRANCH
x
Reset
  • add-as-timezone-method
  • 0.0.2
  • 0.0.3
  • 0.0.4
  • 0.0.5
  • 0.0.6
  • add-from-datetime
  • add-time-method
  • add-utcdatetime-date-method
  • correct-readme-example
  • drop-python-2.6
  • enable-coveralls
  • implement-now-method
  • improve-coverage
  • master
  • only-pep8-utc-datetime-directory
  • parse-from-string
  • reorder-readme
  • support-add-subtract
  • upgrade-to-beta-and-python-3.5

pending completion
72

push

travis-ci

paulfurley
Add `astimezone` method (passthru)

This allows you to get a Python datetime from a utcdatetime:

```
dt = utcdatetime.utcdatetime.now()
dt.astimezone(pytz.timezone('Europe/London'))
```

78 of 78 relevant lines covered (100.0%)

6.0 hits per line

Relevant lines Covered
Build:
Build:
78 RELEVANT LINES 78 COVERED LINES
6.0 HITS PER LINE
Source Files on add-as-timezone-method
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
72 add-as-timezone-method Add `astimezone` method (passthru) This allows you to get a Python datetime from a utcdatetime: ``` dt = utcdatetime.utcdatetime.now() dt.astimezone(pytz.timezone('Europe/London')) ``` push 26 Feb 2016 02:06PM UTC paulfurley travis-ci pending completion  
70 add-as-timezone-method Add `astimezone` method (passthru) This allows you to get a Python datetime from a utcdatetime: ``` dt = utcdatetime.utcdatetime.now() dt.astimezone(pytz.timezone('Europe/London')) ``` push 26 Feb 2016 02:03PM UTC Paul M Furley travis-ci pending completion  
See All Builds (92)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc