Timezone in timeline?
(1) By KOT on 2019-12-22 11:48:45 [link] [source]
However, fossil declares ability to use timezone in timeline datetime format, I was unable to use it. Perphars, I have used wrong format. Can someone give me working example to that command "fossil timeline 2019-12-22T00:00:00.000 -t ci" but with +05:00 timezone?
ps. "DATETIME may be "now" or "YYYY-MM-DDTHH:MM:SS.SSS". If tinyear-month-day form, it may be truncated, the "T" may be replaced by a space, and it may also name a timezone offset from UTC as "-HH:MM" (westward) or "+HH:MM" (eastward). Either no timezone suffix or "Z" means UTC"
(2) By Stephan Beal (stephan) on 2019-12-22 17:34:38 in reply to 1 [source]
This is working for me:
fossil time 2019-12-20T00:00:00+05:00
in that it produces slightly different results from the same thing without the +5 offset:
fossil time 2019-12-20T00:00:00
e.g. (manually word-wrapped for readability):
# f time 2019-12-20T00:00:00+05:00 -n 1
=== 2019-12-19 ===
19:54:12 [4566da665d] Several memleak fixes reported
via https://fossil-scm.org/forum/forumpost/205b004d8a. In a branch
so the OP can test them in his setup. (user: stephan tags: memleak-fixes)
--- entry limit (1) reached ---
# f time 2019-12-20T00:00:00 -n 1
=== 2019-12-19 ===
21:56:55 [6b32e21305] Fix to the regexp() SQL function implementation (pointed
out by [https://fossil-scm.org/forum/forumpost/c9eb457131|Florian Balmer])
so that it properly rejects all overlong 3-byte UTF8 characters,
converting them into 0xfffd. (user: drh tags: trunk)
--- entry limit (1) reached ---