blob: 3c0a2f482e899507049eb53c733f49b9d65cc771 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright (C) 2024-2026 Maria Lisina
# Copyright (C) 2024-2026 Danil Lisin
# SPDX-License-Identifier: Apache-2.0
if [[ -n "${ib_created_at}" && "${ib_created_at}" != "null" ]]
then
if [[ -n "${ib_itzfield}" ]]
then
ib_created_at="$(cut -d ' ' -f ${ib_itzfield} <<< "${ib_created_at}")"
fi
if [[ -n "${ib_idate}" ]]
then
ib_created_at="$(strftime -r "${ib_idate}" "${ib_created_at}")"
fi
ib_date_text="$(strftime "%Y-%m-%d %H:%M" "${ib_created_at}")"
fi
|