Wireshark-commits: [Wireshark-commits] master a946eb3: ftype-time: parse the month independent of t
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 24 Jan 2019 09:20:15 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a946eb3141ce4942852ae8f3c28c5ebfaa6943bb
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

a946eb3 by Peter Wu (peter@xxxxxxxxxxxxx):

    ftype-time: parse the month independent of the locale
    
    Do not rely on strptime("%b") to parse the month, it does not correctly
    recognize English month abbreviations on non-English systems. While at
    it, do not try to parse milliseconds if seconds are missing.
    
    Change-Id: Ia049bf362195eef1eba2f04ff7217049fa6a7d9d
    Reviewed-on: https://code.wireshark.org/review/31707
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: João Valverde <j@xxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  044a9de   tvbuff: Fix RFC 822 and 1123 date parsing with non-English locales
     add  a946eb3   ftype-time: parse the month independent of the locale


Summary of changes:
 epan/ftypes/ftype-time.c              | 36 +++++++++++++++++++++++++++++++----
 test/suite_dfilter/group_time_type.py | 18 ++++++++++++++++++
 2 files changed, 50 insertions(+), 4 deletions(-)