/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/ |
H A D | test_date_and_time_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Date and time" sub-menu of "Settings". 9 Test Setup Navigate To Date and Time Page 15 ${xpath_date_time_heading} //h1[text()="Date and time"] 29 Verify Navigation To Date And Time Page 30 [Documentation] Verify navigation to date and time page. 36 Verify Text Under Date And Time Page 37 [Documentation] Verify the presence of the required text on the date and time page. 41 Page Should Contain To change how date and time are displayed 48 Verify Existence Of All Sections In Date And Time Page 49 [Documentation] Verify existence of all sections in date and time page. [all …]
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_bios.robot | 21 [Documentation] Verify host date & time. 33 ${bmc_date}= Get Current Date from BMC 34 # Date format example: 2022-10-12 16:31:17 35 Log To Console BMC Date: ${bmc_date} 39 # verify date matching pldmtool vs BMC current time. 44 [Documentation] Verify set date & time for the host. 52 ${current_date_time}= Get Current Date UTC exclude_millis=True 56 ${date}= Add Time To Date ${current_date_time} 400 days exclude_millis=True 57 ${upgrade_date}= Evaluate re.sub(r'-* *:*', "", '${date}') modules=re 59 ${time}= Add Time To Date ${current_date_time} 01:01:00 exclude_millis=True [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sel_time.robot | 11 ... BMC Native command (date). 21 ... Current SEL time identified via BMC Native command (date) and perform SEL Time operations. 24 ... Get current time from BMC and add future year and compare against BMC native command (date), 25 ... Gets BMC Current Time and Adds 15 minutes and compare against BMC native command (date), 26 ... Gets BMC Current Time and subtracts 1 day and compare against BMC native command (date), 27 ... Add SEL Entry for all the above scenarios and compare against BMC native command (date). 53 # test case. Need to give how many sel should be added with multiple date and time. 72 ${sel_date}= Get Specific Sel Date 5 75 ${sel_date_raw}= Converting Date to HexaDecimal ${sel_date} 87 ${sel_date}= Get Specific Sel Date [all...] |
/openbmc/openbmc-test-automation/ffdc/plugins/ |
H A D | date_time_utils.py | 4 This module contains functions having to do with date time filter. 12 Convert a date time string to the desired format. 14 This function converts a date time string to the desired format. 15 The function takes the date_str argument, which can be a single date time 16 string or a list of date time strings. 19 specify the input date time pattern and the desired output format, 22 The function returns a list of date time strings in the desired format. 25 date_str (str or list): A date time string or a list of date time 27 date_format (str): The date time pattern of the input string(s). 28 desired_format (str): The desired output format for the date time [all …]
|
/openbmc/phosphor-webui/app/configuration/controllers/ |
H A D | date-time-controller.html | 2 <div id="configuration-date-time"> 3 <h1>Date and time settings</h1> 5 <h2>Set date and time manually or configure a Network Time Protocol (NTP) Server</h2> 16 <div class="row column date-time__ntp-servers-wrap"> 17 … <fieldset class="date-time__ntp-servers" ng-repeat="server in ntp.servers track by $index"> 22 …<button class="btn date-time__dns-remove btn-tertiary" ng-click="removeNTPField($index)">Remove</… 25 <div class="row column date-time__ntp-servers-wrap"> 29 <label class="control-radio" for="manual-time">Manually set date and time 34 <ul class="date-time__metadata-wrapper"> 35 <li class="date-time__metadata-block"> [all …]
|
H A D | date-time-controller.js | 2 * Controller for date-time 32 $scope.bmc.date = 33 new Date(data.data[timePath + 'bmc'].Elapsed / 1000); 35 $scope.bmc.date.setMilliseconds(0); 40 $scope.bmc.timezone = getUserTimezone($scope.bmc.date) + ' ' + 41 createOffset($scope.bmc.date); 45 $scope.host.date = 46 new Date(data.data[timePath + 'host'].Elapsed / 1000); 47 $scope.host.date.setMilliseconds(0); 48 $scope.host.timezone = getUserTimezone($scope.bmc.date) + ' ' + [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/ruby/ruby/ |
H A D | 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch | 3 Date: Fri, 1 Nov 2019 15:25:17 -0300 6 Without an explicit date, they will get the current date and make the 20 "invalid date format in specification: #{date.inspect}") 24 + Time.utc(date.utc.year, date.utc.month, date.utc.day) 26 Time.utc(date.year, date.month, date.day)
|
/openbmc/openbmc-test-automation/redfish/managers/ |
H A D | test_managers_bmc_time.robot | 22 [Documentation] Verify that date/time obtained via redfish matches 23 ... date/time obtained via BMC command line. 28 ${time_diff}= Subtract Date From Date ${cli_date_time} 43 # Add 3 days to current date. 44 ${new_bmc_time}= Add Time to Date ${old_bmc_time} 3 Days 47 ${time_diff}= Subtract Date From Date ${cli_bmc_time} 73 [Documentation] Verify date persists after BMC reboot. 76 # Synchronize BMC date/time to local system date/time. 77 ${local_system_time}= Get Current Date 82 ${local_system_time}= Get Current Date [all …]
|
/openbmc/webui-vue/src/components/Global/ |
H A D | TableDateFilter.vue | 6 label-for="input-from-date" 11 id="input-from-date" 23 {{ $t('global.form.dateMustBeBefore', { date: toDate }) }} 39 aria-controls="input-from-date" 52 label-for="input-to-date" 57 id="input-to-date" 69 {{ $t('global.form.dateMustBeAfter', { date: fromDate }) }} 85 aria-controls="input-to-date" 132 const date = new Date(value); 133 const maxDate = new Date(this.toDate); [all …]
|
/openbmc/phosphor-webui/app/common/directives/ |
H A D | syslog-filter.html | 9 <p class="filter-label">Filter by date range</p> 11 <label for="sys-log-filter-start-date">Start Date</label> 12 …<input id="sys-log-filter-start-date" type="date" max="{{end_date | date:'yyyy-MM-dd'}}" placehold… 16 <label for="sys-log-filter-end-date">End Date</label> 17 …<input id="sys-log-filter-end-date" type="date" min="{{start_date | date:'yyyy-MM-dd'}}" placehold…
|
H A D | log-filter.html | 19 …<legend class="filter-label">Filter by date range ({{supportsDateInput ? 'mm/dd/yyyy' : 'yyyy-mm-d… 22 <label for="event-filter-start-date" class="accessible-text">Start Date</label> 23 …nput name="eventFilterStartDate" id="event-filter-start-date" type="date" max="{{end_date | date:'… 24 … <p class="error" ng-show="eventDateFilter.eventFilterStartDate.$invalid">Invalid date format.</p> 28 <label for="event-filter-end-date" class="accessible-text">End Date</label> 29 …<input name="eventFilterEndDate" id="event-filter-end-date" type="date" min="{{start_date | date:'… 30 … <p class="error" ng-show="eventDateFilter.eventFilterEndDate.$invalid">Invalid date format.</p>
|
/openbmc/qemu/tests/qtest/ |
H A D | m48t59-test.c | 110 static void cmos_get_date_time(QTestState *s, struct tm *date) in cmos_get_date_time() argument 133 date->tm_isdst = dummy.tm_isdst; in cmos_get_date_time() 134 date->tm_sec = sec; in cmos_get_date_time() 135 date->tm_min = min; in cmos_get_date_time() 136 date->tm_hour = hour; in cmos_get_date_time() 137 date->tm_mday = mday; in cmos_get_date_time() 138 date->tm_mon = mon - 1; in cmos_get_date_time() 139 date->tm_year = base_year + year - 1900; in cmos_get_date_time() 141 date->tm_gmtoff = 0; in cmos_get_date_time() 144 ts = mktime(date); in cmos_get_date_time() [all …]
|
/openbmc/u-boot/drivers/rtc/ |
H A D | mvrtc.c | 8 * Date & Time support for Marvell Integrated RTC 24 u32 date; in __mv_rtc_get() local 29 /* read the date register */ in __mv_rtc_get() 30 date = readl(®s->date); in __mv_rtc_get() 45 /* date */ in __mv_rtc_get() 46 t->tm_mday = bcd2bin((date >> MVRTC_DATE_SFT) & MVRTC_DATE_MSK); in __mv_rtc_get() 47 t->tm_mon = bcd2bin((date >> MVRTC_MON_SFT) & MVRTC_MON_MSK); in __mv_rtc_get() 48 t->tm_year = bcd2bin((date >> MVRTC_YEAR_SFT) & MVRTC_YEAR_MSK); in __mv_rtc_get() 71 u32 date = 0; in __mv_rtc_set() local 83 /* date */ in __mv_rtc_set() [all …]
|
H A D | s35392a.c | 195 u8 date[7]; in s35392a_rtc_get() local 203 ret = s35392a_rtc_read(dev, S35390A_CMD_TIME1, date, sizeof(date)); in s35392a_rtc_get() 205 DEBUGR("Error reading date from RTC\n"); in s35392a_rtc_get() 211 date[i] = bitrev8(date[i]); in s35392a_rtc_get() 213 tm->tm_sec = bcd2bin(date[S35390A_BYTE_SECS]); in s35392a_rtc_get() 214 tm->tm_min = bcd2bin(date[S35390A_BYTE_MINS]); in s35392a_rtc_get() 215 tm->tm_hour = bcd2bin(date[S35390A_BYTE_HOURS] & ~S35390A_FLAG_24H); in s35392a_rtc_get() 216 tm->tm_wday = bcd2bin(date[S35390A_BYTE_WDAY]); in s35392a_rtc_get() 217 tm->tm_mday = bcd2bin(date[S35390A_BYTE_DAY]); in s35392a_rtc_get() 218 tm->tm_mon = bcd2bin(date[S35390A_BYTE_MONTH]); in s35392a_rtc_get() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_date_and_time_utils.robot | 2 Documentation This module provides general keywords for date time and ntp. 33 # date time of the local system. 36 # date time input will result in failure as 39 # Assign default value of UTC current date time if date_time is empty. 40 ${current_date_time}= Get Current Date time_zone=UTC 46 ${date_time}= Convert Date ${date_time} result_format=%Y-%m-%dT%H:%M:%S+00:00 60 [Documentation] Set date time to manual mode via Redfish. 66 Set BMC Date And Verify 67 [Documentation] Set BMC Date Time at a given host state and verify. 70 # host_state Host state at which date time will be updated for verification [all …]
|
/openbmc/openbmc-test-automation/redfish/task_service/ |
H A D | test_tasks_service.robot | 59 ${cur_time}= Get Current Date from BMC 65 ${time_diff}= Subtract Date From Date ${cur_time} ${bmc_time[0]} 126 ${cur_time}= Get Current Date from BMC 135 ${time_diff}= Subtract Date From Date ${cur_time} ${start_time[0]} 163 ${time_diff}= Subtract Date From Date ${end_time[0]} ${start_time[0]} 260 Get Current Date from BMC 261 [Documentation] Runs the date command from BMC and returns current date and time. 263 # Get Current Date from BMC 264 ${date} ${stderr} ${rc}= BMC Execute Command date 267 # the list and join to form %d %b %H:%M:%S %Y date format. [all …]
|
/openbmc/openbmc-test-automation/gui/test/server_config/ |
H A D | test_obmc_gui_date_and_time_settings.robot | 3 Documentation Test OpenBMC GUI "Date and time settings" sub-menu of 19 ${xpath_set_date} //input[@type="date"] 21 ${xpath_set_time_owner} //select[@id="date-time-owner"] 26 Verify Existence Of All Sections In Date And Time Settings Page 27 [Documentation] Verify existence of all sections in date and time settings 31 Page Should Contain Set date and time manually or configure a Network Time 35 Verify Existence Of All Buttons In Date And Time Settings Page 36 [Documentation] Verify existence of all buttons in date and time settings 59 Wait Until Page Contains Date and time settings
|
/openbmc/openbmc/poky/meta/recipes-extended/mc/files/ |
H A D | nomandate.patch | 3 Date: Tue, 4 Feb 2020 18:12:15 +0000 4 Subject: [PATCH] mc: Fix manpage date indeterminism 9 The man page date can vary depending upon the host perl, e.g. in Russian 11 Rather than depend upon perl-native to fix this, just remove the date from 19 doc/man/date-of-man-include.am | 2 +- 22 diff --git a/doc/man/date-of-man-include.am b/doc/man/date-of-man-include.am 24 --- a/doc/man/date-of-man-include.am 25 +++ b/doc/man/date-of-man-include.am
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun/ |
H A D | 1777174bb97c0b514033a09b820078b0d117f4a8.patch | 3 Date: Fri, 28 Jun 2024 19:21:04 +0000 20 self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today()) 21 - self.assertEqual(datetime.date(2013, 4, 9), frozen_time.time_to_freeze.today()) 26 self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today()) 27 - self.assertEqual(datetime.date(2013, 4, 9), kwargs.get('hello').time_to_freeze.today()) #… 30 @freeze_time(lambda: datetime.date(year=2013, month=4, day=9), as_kwarg='frozen_time') 32 self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today()) 33 - self.assertEqual(datetime.date(2013, 4, 9), frozen_time.time_to_freeze.today())
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/fetch-testdata/software/libxml2/2.9/ |
H A D | index.html | 5 …"> ↓ </a></th><th style="width:25%"><a href="?C=M&O=A">Date</a> <a href="?… 6 …="link"><a href="../">Parent directory/</a></td><td class="size">-</td><td class="date">-</td></tr> 7 …-2.9.14">LATEST-IS-2.9.14</a></td><td class="size">3.0 MiB</td><td class="date">2022-May-02 12:03<… 8 …sum">libxml2-2.9.0.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:27<… 9 ….xz">libxml2-2.9.0.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:27<… 10 …sum">libxml2-2.9.1.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:28<… 11 ….xz">libxml2-2.9.1.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:28<… 12 …um">libxml2-2.9.10.sha256sum</a></td><td class="size">88 B</td><td class="date">2022-Feb-14 18:42<… 13 …xz">libxml2-2.9.10.tar.xz</a></td><td class="size">3.2 MiB</td><td class="date">2022-Feb-14 18:42<… 14 …um">libxml2-2.9.11.sha256sum</a></td><td class="size">88 B</td><td class="date">2022-Feb-14 18:43<… [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-fru.yaml | 27 IPMIFruProperty: Mfg Date 59 IPMIFruProperty: Mfg Date 97 IPMIFruProperty: Mfg Date 117 IPMIFruProperty: Mfg Date 137 IPMIFruProperty: Mfg Date 157 IPMIFruProperty: Mfg Date 177 IPMIFruProperty: Mfg Date 197 IPMIFruProperty: Mfg Date 217 IPMIFruProperty: Mfg Date 237 IPMIFruProperty: Mfg Date [all …]
|
/openbmc/u-boot/tools/ |
H A D | microcode-tool.py | 45 date: String containing date from the file's header 54 date = '' 71 date = m_date.group(1) 76 return date, license_text, microcodes 84 date: String containing date from the file's header 90 date = '' 118 return date, license_text, microcodes 121 def List(date, microcodes, model): argument 125 date: Date of the microcode file 129 print 'Date: %s' % date [all …]
|
H A D | microcode-tool | 45 date: String containing date from the file's header 54 date = '' 71 date = m_date.group(1) 76 return date, license_text, microcodes 84 date: String containing date from the file's header 90 date = '' 118 return date, license_text, microcodes 121 def List(date, microcodes, model): argument 125 date: Date of the microcode file 129 print 'Date: %s' % date [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/ |
H A D | 0003-Define-the-C-preprocessor-variable-to-improve-reprod.patch | 3 Date: Sun, 7 Mar 2021 17:07:44 +0000 7 as source for reproducible build date in case when 23 DATE="`date $dateopt '+%a %d %B %Y'`" 24 +AC_DEFINE_UNQUOTED([BUILD_DATE], ["$DATE"], [Use reproducible build date]) 25 AC_SUBST(DATE)
|
/openbmc/phosphor-webui/app/configuration/styles/ |
H A D | date-time.scss | 1 // Date Time SCSS 8 .date-time__metadata-wrapper { 12 .date-time__owner-dropdown { 18 .date-time__ntp-servers{ 22 .date-time__ntp-servers-wrap{ 27 .date-time__metadata-block { 48 /*button*/.date-time__dns-remove {
|