Browse Source

feat: Date format (#2414)

* build: fetch update from upstream

* fix: date format

* style: remove log package

* style: remove unused import

* chore: remove whitespace changes

* chore: remove whitespace changes

* chore: remove whitespace changes

---------

Co-authored-by: parfait kouassi <[email protected]>
Co-authored-by: Alex Wallen <[email protected]>
Bienvenu Parfait 2 years ago
parent
commit
d65a56151b

+ 1 - 1
frontend/appflowy_flutter/assets/translations/en.json

@@ -280,7 +280,7 @@
       "numberFormat": "Number format",
       "numberFormat": "Number format",
       "dateFormat": "Date format",
       "dateFormat": "Date format",
       "includeTime": "Include time",
       "includeTime": "Include time",
-      "dateFormatFriendly": "Month Day,Year",
+      "dateFormatFriendly": "Month Day, Year",
       "dateFormatISO": "Year-Month-Day",
       "dateFormatISO": "Year-Month-Day",
       "dateFormatLocal": "Month/Day/Year",
       "dateFormatLocal": "Month/Day/Year",
       "dateFormatUS": "Year/Month/Day",
       "dateFormatUS": "Year/Month/Day",

+ 1 - 1
frontend/rust-lib/flowy-database/src/services/field/type_options/date_type_option/date_type_option_entities.rs

@@ -207,7 +207,7 @@ impl DateFormat {
       DateFormat::Local => "%m/%d/%Y",
       DateFormat::Local => "%m/%d/%Y",
       DateFormat::US => "%Y/%m/%d",
       DateFormat::US => "%Y/%m/%d",
       DateFormat::ISO => "%Y-%m-%d",
       DateFormat::ISO => "%Y-%m-%d",
-      DateFormat::Friendly => "%b %d,%Y",
+      DateFormat::Friendly => "%b %d, %Y",
       DateFormat::DayMonthYear => "%d/%m/%Y",
       DateFormat::DayMonthYear => "%d/%m/%Y",
     }
     }
   }
   }