Lines Matching refs:val
1220 for key, val in six.iteritems(struct):
1221 if isinstance(val, datetime.datetime):
1224 struct[key] = datetime_to_basic_ts(val)
1228 for e in val:
1229 lm = val[e].get("last-modified", None)
1232 val[e]["last-modified"] = lm
1251 def cat_ts_to_datetime(val):
1253 return basic_ts_to_datetime(val)
1257 for key, val in six.iteritems(struct):
1261 if val:
1262 struct[key] = cat_ts_to_datetime(val)
1266 if type(val) != dict:
1273 for subpart in val:
1296 for e in val:
1297 lm = val[e].get("last-modified", None)
1300 val[e]["last-modified"] = lm
3902 val = dt.isoformat()
3903 val = val.replace("-", "")
3904 val = val.replace(":", "")
3908 val += "Z"
3909 return val
3915 val = dt.isoformat()
3916 val = val.replace("-", "")
3918 val = val.rsplit(":", 2)[0]
3919 val = val.replace(":", "")
3923 val += "Z"
3924 return val