Wireshark-commits: [Wireshark-commits] master-3.0 21f20e2: Allow %D and %T in date/time formats.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 09 Mar 2019 23:30:43 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=21f20e2b963d6f8ee5a43e510326685aac388547
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

21f20e2 by Guy Harris (guy@xxxxxxxxxxxx):

    Allow %D and %T in date/time formats.
    
    1) They're both required, for both strftime() and strptime(), by the
    Single UNIX Specification.
    
    2) They're both supported by MSVC's strftime(), at least as of VS 2015.
    
    3) With MSVC, we use our own strptime(), which is based on the GNU libc
    one and which supports both of them.
    
    So we don't have to worry about them not working and either giving a
    bogus value or throwing an exception or anything such as that.
    
    Bug: 15565
    Change-Id: I72b7798f35c4461855298cfcfa84732c1297d5fe
    Reviewed-on: https://code.wireshark.org/review/32370
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 69152ab2042e66363ff39e6462536eacc9b25613)
    Reviewed-on: https://code.wireshark.org/review/32371
    

Actions performed:

    from  a065fd8   Docs: Mention Npcap in our man pages.
     add  21f20e2   Allow %D and %T in date/time formats.


Summary of changes:
 ui/qt/import_text_dialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)