Skip to content

Commit

Permalink
feat: date picker format topic (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvtimofeev authored Feb 6, 2025
1 parent e99b531 commit 293573c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions public/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"header_actions_howToStart": "How to Start",
"news_title": "Recent updates",
"banner_content": "Our first webinar will be held on December 9 at 12:00 UTC +3 right here. Please save the date!",
"news_items_item1": "You can watch the recording of our webinar <a href=\"https://www.youtube.com/live/e77kbTjqZX8?si=Z7P8ZBUgJJOlpW_h&t=321\">here</a>. We are waiting for your <a href=\"https://forms.yandex.net/ext/surveys/13718316/\">feedback</a>!",
"news_items_item2": "<a href=\"https://github.com/gravity-ui/uikit/issues/1951\">Here is a sneak peek</a> at the features coming with UiKit 7 this winter. Check them out!",
"news_items_item3": "The ActionPanel, Definition List, File Preview and Placeholder Container have been improved and pushed to <a href=\"/libraries/uikit\">UIKit</a>!",
"news_items_item1": "<a href=\"components/date-components/date-picker\">DatePicker</a> and RangeDatePicker components have learned to transform according to the specified format. Now you can choose from days, months or quarters.",
"news_items_item2": "You can watch the recording of our webinar <a href=\"https://www.youtube.com/live/e77kbTjqZX8?si=Z7P8ZBUgJJOlpW_h&t=321\">here</a>. We are waiting for your <a href=\"https://forms.yandex.net/ext/surveys/13718316/\">feedback</a>!",
"news_items_item3": "<a href=\"https://github.com/gravity-ui/uikit/issues/1951\">Here is a sneak peek</a> at the features coming with UiKit 7 this winter. Check them out!",
"features_feature1_title": "Built on real-life experience",
"features_feature1_description": "Conceived as an in-house solution in response to real developers' needs, we released Gravity to the open-source community.",
"features_feature2_title": "First class design",
Expand Down
6 changes: 3 additions & 3 deletions public/locales/ru/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"header_actions_howToStart": "С чего начать",
"news_title": "Новости",
"banner_content": "Наш первый вебинар будет 9 декабря в 12:00 UTC +3 прямо тут. Пожалуйста, приходите!",
"news_items_item1": "Запись первого вебинара доступна <a href=\"https://www.youtube.com/live/e77kbTjqZX8?si=Z7P8ZBUgJJOlpW_h&t=321\">тут</a>. Пожалуйста, оставьте <a href=\"https://forms.yandex.net/ext/surveys/13718316/\">отзыв</a>, как он прошёл!",
"news_items_item2": "<a href=\"https://github.com/gravity-ui/uikit/issues/1951\">Мы собрали превью</a> новых фичей, которые появятся этой зимой в UIKit 7. Заходите почитать!",
"news_items_item3": "Компоненты ActionPanel, Definition List, File Preview и Placeholder Container доработаны и добавлены в <a href=\"/libraries/uikit\">UIKit</a>!",
"news_items_item1": "Компоненты <a href=\"components/date-components/date-picker\">DatePicker</a> и RangeDatePicker научились работать с заданным форматом. Можно выбрать календарь по дням, месяцам или кварталам.",
"news_items_item2": "Запись первого вебинара доступна <a href=\"https://www.youtube.com/live/e77kbTjqZX8?si=Z7P8ZBUgJJOlpW_h&t=321\">тут</a>. Пожалуйста, оставьте <a href=\"https://forms.yandex.net/ext/surveys/13718316/\">отзыв</a>, как он прошёл!",
"news_items_item3": "<a href=\"https://github.com/gravity-ui/uikit/issues/1951\">Мы собрали превью</a> новых фичей, которые появятся этой зимой в UIKit 7. Заходите почитать!",
"features_feature1_title": "Основано на реальном опыте использования",
"features_feature1_description": "Внутреннее решение в ответ на реальные потребности разработчиков: мы выпустили Gravity для open-source сообщества.",
"features_feature2_title": "Отличный дизайн",
Expand Down
6 changes: 3 additions & 3 deletions src/content/landing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ export const getLanding = (t: TFunction): CustomPageContent => ({
title: t('home:news_title'),
items: [
{
date: '2024-12-11T08:00:00.000Z',
date: '2025-01-06T00:00:00.000Z',
content: t('home:news_items_item1'),
},
{
date: '2024-11-21T08:00:00.000Z',
date: '2024-12-11T08:00:00.000Z',
content: t('home:news_items_item2'),
},
{
date: '2024-11-15T10:00:00.000Z',
date: '2024-11-21T08:00:00.000Z',
content: t('home:news_items_item3'),
},
],
Expand Down

0 comments on commit 293573c

Please sign in to comment.