Ticket #13688: 0001-Use-B_FULL_DATE_FORMAT-as-the-default-style-value.patch

File 0001-Use-B_FULL_DATE_FORMAT-as-the-default-style-value.patch, 996 bytes (added by akshay, 7 years ago)
  • headers/os/locale/DateFormat.h

    From a1db9c93f68168651d6b261376a9376e270fb674 Mon Sep 17 00:00:00 2001
    From: Akshay Agarwal <agarwal.akshay.akshay8@gmail.com>
    Date: Thu, 31 Aug 2017 00:59:30 +0530
    Subject: [PATCH 1/2] Use B_FULL_DATE_FORMAT as the default style value.
    
    ---
     headers/os/locale/DateFormat.h | 6 ++++--
     1 file changed, 4 insertions(+), 2 deletions(-)
    
    diff --git a/headers/os/locale/DateFormat.h b/headers/os/locale/DateFormat.h
    index 69db2cf..2f9aad0 100644
    a b public:  
    7272
    7373            status_t            GetStartOfWeek(BWeekday* weekday) const;
    7474            status_t            GetMonthName(int month, BString& outName,
    75                                     const BDateFormatStyle style) const;
     75                                    const BDateFormatStyle style
     76                                    = B_FULL_DATE_FORMAT) const;
    7677            status_t            GetDayName(int day, BString& outName,
    77                                     const BDateFormatStyle style) const;
     78                                    const BDateFormatStyle style
     79                                    = B_FULL_DATE_FORMAT) const;
    7880
    7981                                // parsing
    8082