Проверка шаблона шины для iOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fieldFormat.py 436B

10 月之前
11 月之前
10 月之前
11 月之前
10 月之前
11 月之前
1234567891011121314151617
  1. from generation.isPipeMany import *
  2. from generation.isPipeRecent import *
  3. def fieldFormat(fmtMany, fmtPlain, fmtRecent, name, structure):
  4. fmt = fmtPlain
  5. if (
  6. isPipeRecent(name, structure.core) or
  7. isPipeRecent(name, structure.service)
  8. ):
  9. fmt = fmtRecent
  10. if (
  11. isPipeMany(name, structure.core) or
  12. isPipeMany(name, structure.service)
  13. ):
  14. fmt = fmtMany
  15. return fmt