Format the provided ISO date time string for human friendly display taking into user timezone specific in the config.
(value)
| 62 | |
| 63 | |
| 64 | def format_isodate_for_user_timezone(value): |
| 65 | """ |
| 66 | Format the provided ISO date time string for human friendly display taking into user timezone |
| 67 | specific in the config. |
| 68 | """ |
| 69 | config = get_config() |
| 70 | timezone = config.get("cli", {}).get("timezone", "UTC") |
| 71 | result = format_isodate(value=value, timezone=timezone) |
| 72 | return result |