Changeset 839:4eba04af7683
- Timestamp:
- 04/17/17 07:06:24 (8 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/pirep.py
r838 r839 373 373 attrs["ratingText"] = self.getRatingText() 374 374 attrs["rating"] = max(0.0, self.rating) 375 attrs["flownDistance"] = self.flownDistance375 attrs["flownDistance"] = "%.2f" % (self.flownDistance,) 376 376 # FIXME: it should be stored in the PIREP when it is sent later 377 377 attrs["performDate"] = datetime.date.today().strftime("%Y-%m-%d")
Note:
See TracChangeset
for help on using the changeset viewer.