aboutsummaryrefslogtreecommitdiffstats
path: root/epan/time_fmt.h
AgeCommit message (Collapse)AuthorFilesLines
2010-04-24Make the absolute_time_display_e enum start at 1000 to avoid overlapping withJeff Morriss1-1/+2
the base_display_e enum. Fix a couple of dissectors that were still using FT_ABSOLUTE_TIME with BASE_NONE. (The time format chosen is based only on an attempt to not change the behavior. I don't know that it's right.) One of these is built by Pidl. I'll send a patch upstream too. When checking hfinfos, display the absolute_time_display_e values too. Display "bit count: X" instead of "unknown" when the display value doesn't match one of the enumerated values. svn path=/trunk/; revision=32552
2010-02-27From Jakub Zawadzki: split off the address-to-string functions, exceptGuy Harris1-1/+1
for ip_to_str_buf(), into address_to_str.c. Fix up the SVN attributes for time_fmt.h while we're at it. svn path=/trunk/; revision=32038
2010-02-27Add a third date format, ABSOLUTE_TIME_DOY_UTC, to show UTC with theGuy Harris1-0/+49
date as YYYY/DDD, where DDD is a 1-origin day of year. Move the formats to a "time_fmt.h" file, included by the headers that use it. Have abs_time_to_str() and abs_time_secs_to_str() take the date format value, rather than a Boolean "show this as UTC" flag, as an argument. Document the ABSOLUTE_TIME_ formats a bit better. Use that format in the CCSDS and VCDU dissectors, rather than having those dissectors do the formatting themselves. svn path=/trunk/; revision=32034