| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -261,9 +261,13 @@ def set_value(self, value): | |||
| 261 | 261 | ||
| 262 | 262 | Default class unit is 'days'. Can be overrided by setting "UNIT" global class attribute | |
| 263 | 263 | ''' | |
| 264 | - self.value = int(value) | ||
| 264 | + self.value = int(value) # TODO: support for FP? | ||
| 265 | 265 | def get_hash(self): | |
| 266 | 266 | return self.get_name() | |
| 267 | + | ||
| 268 | + def decode(self): | ||
| 269 | + return self.value # only hours supported yet | ||
| 270 | + | ||
| 267 | 271 | def validate(self, task, tasks): | |
| 268 | 272 | ''' | |
| 269 | 273 | Validate (and correct) the current task property | |
| Back | FazBrowse Home | New Git URL |
0 commit comments