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

kobotoolbox / kpi / 15712726219
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 17 Jun 2025 04:57PM UTC
Jobs 2
Files 653
Run time 20min
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

17 Jun 2025 04:21PM UTC coverage: 81.015% (-0.01%) from 81.026%
15712726219

push

github

web-flow
fix(massEmails): convert dates to strings for xslx DEV-601 (#5847)

### đŸ“Ŗ Summary
Fix exporting mass email records to XSLX format.

### 💭 Notes
The XLSX exporter doesn't work with dates with timezones, so convert all
dates to strings before the exporting happens. This way no information
is lost and whoever exports the data can manipulate the dates in Excel
as they wish.


### 👀 Preview steps
Remember to restart the kpi_worker after switching branches.
1. â„šī¸ have an account and a MassEmailConfig that has sent at least once
2. Select the config and select the 'Export with celery' action
3. On the ExportJob form, select the XSLX format and the Last 30 days
recipients resource and save.
4. 🔴 [on main] The job hangs. In the kpi_worker logs you will see
`TypeError: Excel does not support timezones in datetimes. The tzinfo in
the datetime/time object must be set to None.`
5. đŸŸĸ [on PR] The export completes and you are able to download the xslx

6278 of 9953 branches covered (63.08%)

23966 of 29582 relevant lines covered (81.02%)

1.6 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
93.79
-1.86% kobo/apps/stripe/views.py
Jobs
ID Job ID Ran Files Coverage
1 15712726219.1 17 Jun 2025 04:57PM UTC 653
78.93
2 15712726219.2 17 Jun 2025 04:58PM UTC 653
81.0
Source Files on build 15712726219
  • Tree
  • List 653
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d1e0efc5 on github
  • Prev Build on main (#15707209815)
  • Next Build on main (#15713286137)
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