diff --git a/_data/assetPaths.json b/_data/assetPaths.json index 70dd82ff..2640d67b 100644 --- a/_data/assetPaths.json +++ b/_data/assetPaths.json @@ -3,10 +3,10 @@ "admin.map": "/assets/js/admin-77FHK54G.js.map", "app.js": "/assets/js/app-U5OIPSUD.js", "app.map": "/assets/js/app-U5OIPSUD.js.map", - "positions.js": "/assets/js/positions-WJQAKJ7I.js", - "positions.map": "/assets/js/positions-WJQAKJ7I.js.map", - "subnav.js": "/assets/js/subnav-4HLYTIGH.js", - "subnav.map": "/assets/js/subnav-4HLYTIGH.js.map", + "positions.js": "/assets/js/positions-7HNV4MMS.js", + "positions.map": "/assets/js/positions-7HNV4MMS.js.map", + "subnav.js": "/assets/js/subnav-3QHQ2EX4.js", + "subnav.map": "/assets/js/subnav-3QHQ2EX4.js.map", "styles.css": "/assets/styles/styles-EQTR2GJL.css", "styles.map": "/assets/styles/styles-EQTR2GJL.css.map" } diff --git a/js/positions.js b/js/positions.js index d46a3ac5..cbb4870d 100644 --- a/js/positions.js +++ b/js/positions.js @@ -358,23 +358,38 @@ function formatSessionTimes(sessionTime) { return `${startET}-${endET} ET (${startPT}-${endPT} PT)`; } -// Helper export function to convert the time to a specific timezone +// Helper function to convert the time to a specific timezone function convertTimeToZone(time, timeZone) { - const now = new Date(); // Get today's date - const [hours, minutes, period] = time.match(/(\d+):(\d+)([ap]m)/i).slice(1); // Extract hours, minutes, period (am/pm) + const [hours, minutes, period] = time.match(/(\d+):(\d+)([ap]m)/i).slice(1); - // Create a date object using today's date and the given time in the desired timezone (ET or PT) - const date = new Date( - `${now.toLocaleDateString()} ${hours}:${minutes} ${period}`, - ); + console.log(period); + + let hours24 = parseInt(hours, 10); + let timePeriod = period; + if (period.toLowerCase() === "pm" && hours24 !== 12) { + hours24 += 12; + } else if (period.toLowerCase() === "am" && hours24 === 12) { + hours24 = 0; + } + + // Set the PT offset + const ptOffset = timeZone !== "America/New_York" ? 3 : 0; + const ptHours = hours24 - ptOffset; + + console.log(hours24, ptHours); + + // Make sure the time period changes to AM if the Pacific Time is before noon + if (timeZone === "America/Los_Angeles" && hours24 >= 12 && ptHours < 12) { + timePeriod = "AM"; + } + + hours24 = hours24 - ptOffset; + + if (hours24 > 12) { + hours24 += -12; + } - // Convert the time to the specified timezone (America/New_York for ET, America/Los_Angeles for PT) - return new Intl.DateTimeFormat("en-US", { - hour: "numeric", - minute: "numeric", - hour12: true, - timeZone: timeZone, - }).format(date); + return `${hours24}:${minutes} ${timePeriod.toUpperCase()}`; } if (typeof window !== "undefined") { diff --git a/pages/jointts/positions/Cloud-gov-Account-Manager.md b/pages/jointts/positions/Cloud-gov-Account-Manager.md index 8a828f5e..f61d3042 100644 --- a/pages/jointts/positions/Cloud-gov-Account-Manager.md +++ b/pages/jointts/positions/Cloud-gov-Account-Manager.md @@ -53,7 +53,7 @@ status_alert: true alert_keywords: Account Management; Customer Experience (CX); Sales/Business Development # If this listing has been updated since it was published, put the updated date below in YYYY-MM-DD format. -updated: 2024-10-15 +updated: 2024-10-17 # BASIC INFO # The basic information and details of the position @@ -77,7 +77,7 @@ travel_requirement: Occasional travel may be required up to 10%-20% per year. work_schedule: Full time. # Set to 0 if there is no limit -max_applications: 200 +max_applications: 150 # Use either "permanent" or "temporary" appointment_type: permanent @@ -166,8 +166,11 @@ qualifications: | # indenting once. specialized_requirements: | - Experience managing relationships with customers or clients - - Experience in managing projects or business processes - - Experience with software and cloud infrastructure technologies and products such as: e.g., cloud infrastructure offerings like Amazon AWS, Google Cloud GCP, or Azure; OR Software-as-a-service products or web applications of any kind. + - Experience evaluating or scoping technical requirements for IT, software or cloud infrastructure systems + - Experience managing projects or business processes + - Experience utilizing software and cloud infrastructure technologies and products such as: + - Cloud infrastructure offerings like Amazon AWS, Google Cloud GCP, Azure; OR + - Software-as-a-service products or web applications of any kind. # This can be filled prior to the job posting going live or left blank # # The application button will only show after the open date #