On 04/12/2017 11:55 AM, Marek Hulán wrote:
On středa 12. dubna 2017 16:14:36 CEST Bryan Kearney wrote:
+1 on the format
To make sure I am clear:
1) Dates will be stored in the DB as UTC.
yes, but should not matter since the TZ info part of the value and we'd always
convert it according to current user locale
2) Dates will be shown to the user based on their locale.
yes
Questions i have:
a) If I enter a new date, am I entering it in my time zone? Assume
serrver is in UTC +1 and I am in UTC -1. If I enter it in at 23:00 on 12
April, what is stored in the DB?
I'm not sure if we enter the time somewhere. AFACT, rex has some time input
but I'm not sure how it deals with TZs exactly. I think we should use some
time picker in these cases where users would use their TZ and we should
convert it to UTC.
I am thinking scap runs, katello syncplans are hte biggies.
b) What preference/setting controls (2)
go to editting form of your profile
$username in top right corner -> My account
see Timezone field which defaults to "Browser timezone" but can be set to any
time zone
thanks!
-- bk
--
You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.