ebay Date &
*This is one pattern within ebay’s Design system Library. You can
read this to get an understanding of the DSL before diving in.*
There is no unified service at ebay as a source of truth for date, time, and localization to be generated, stored and surfaced on ebay platforms. As a result, each team maintains their own logic and design by domain and platform, creating a disjointed experience across the system.
Date and time is used all across the ebay platform, from delivery dates, auction times, countdowns, to a multitude of instances. Issues arise when each team create their own formats and logic in silos without communication with other teams. The result is that there may be 4-5 different delivery dates that are surfaced from page to page without rhyme or reason. Other than a discordance with formats, there are also over complicated formats that should be simplified or rethought to be improve the user experience for the user. These issues not only exist within the US service, they also extend to our services overseas in 31 different locales.
Create a single source of truth
and ensure consistency across
all platforms and applications.
Enable a single point of testing.
Quick rundown of the process on collecting,
analyzing, vetting, and formulating
the Date & Time pattern.
Multiple formats for similar content
Unnecessary info based on use case
Display format based on relevancy:
"Today for items/events ending or starting beyond today but within immediate week
"Month and Date" for items/events ending or starting beyond immediate week
Full date, year, and time for when year is important (CVI)
End/start date & time
The Commerce Experience Service Layer serves as a platform solve to define the standards
for internationalization formatting. COS experience layer will use this as the source of truth for the
platform solves we are building. COS experience layer will only define the data output as
expected by applications. Visual output will still remain part of the front end layer.
Date and time formatting became the first initiative to create
an unified system to serve, maintain and generate collective
information. Goals following these phases is to standardize
and localize currency, metrics, and addresses.