UNPKG

outsystems-ui

Version:
23 lines (21 loc) 647 B
// eslint-disable-next-line @typescript-eslint/no-unused-vars namespace OutSystems.OSUI.Dates { /** * Method that will expose the ServerDateFormat. * * @export * @return {*} {string} Server Date Format */ export function GetServerDateFormat(): string { return OSFramework.OSUI.Helper.Dates.ServerFormat; } /** * Used to trigger the OSFramework.OSUI method responsible for set the ServerDateFormat * * @export * @param {string} date A Sample Date that will be used to set the ServerDateFormat */ export function SetServerDateFormat(date: string): void { OSFramework.OSUI.Helper.Dates.SetServerDateFormat(date); } }