Home
last modified time | relevance | path

Searched refs:datefmt (Results 1 – 25 of 1147) sorted by relevance

12345678910>>...46

/dports/www/trac-devel/Trac-1.5.3/trac/util/tests/
H A Ddatefmt.py32 if datefmt.pytz is None:
305 if datefmt.pytz:
810 rv = datefmt.parse_date(text, datefmt.utc)
899 datefmt.datetime_now(datefmt.utc).tzinfo)
1645 dt = datefmt.localtz.normalize(datefmt.localtz.localize(dt))
1765 t1 = datefmt.localtz.normalize(datefmt.localtz.localize(t))
1781 t1 = datefmt.localtz.normalize(datefmt.localtz.localize(t))
1848 t = datefmt.to_datetime(t + delta, datefmt.localtz)
1850 t = datefmt.to_datetime(t + delta, datefmt.localtz)
1852 t = datefmt.to_datetime(t + delta, datefmt.localtz)
[all …]
/dports/devel/py-orca/orca-1.6/orca/utils/
H A Dlogutil.py11 US_FMT = logging.Formatter(fmt=US_LOG_FMT, datefmt=US_LOG_DATE_FMT)
48 handler, level=None, fmt=None, datefmt=None, propagate=None): argument
72 if not datefmt:
73 datefmt = US_LOG_DATE_FMT
75 handler.setFormatter(logging.Formatter(fmt=fmt, datefmt=datefmt))
87 def log_to_stream(level=None, fmt=None, datefmt=None): argument
105 logging.StreamHandler(), fmt=fmt, datefmt=datefmt, propagate=False)
108 def log_to_file(filename, level=None, fmt=None, datefmt=None): argument
127 logging.FileHandler(filename), fmt=fmt, datefmt=datefmt)
/dports/graphics/py-urbansim/urbansim-3.2/urbansim/utils/
H A Dlogutil.py7 US_FMT = logging.Formatter(fmt=US_LOG_FMT, datefmt=US_LOG_DATE_FMT)
43 def _add_urbansim_handler(handler, level=None, fmt=None, datefmt=None, argument
68 if not datefmt:
69 datefmt = US_LOG_DATE_FMT
71 handler.setFormatter(logging.Formatter(fmt=fmt, datefmt=datefmt))
83 def log_to_stream(level=None, fmt=None, datefmt=None): argument
101 logging.StreamHandler(), fmt=fmt, datefmt=datefmt, propagate=False)
104 def log_to_file(filename, level=None, fmt=None, datefmt=None): argument
123 logging.FileHandler(filename), fmt=fmt, datefmt=datefmt)
/dports/math/ploticus-nox11/pl240src/pltestsuite/
H A Dtestpf_chron12 pl -prefab chron data=data14 x=1 y=2 datefmt=yy/mm/dd \
19 pl -prefab chron data=data14 x=1 y=2 datefmt=yy/mm/dd xinc="1 month" \
24 pl -prefab chron data=data19 x=2 y=1 datefmt=mmddyy xinc="1 month" \
31 pl -prefab chron data=data14 x=1 y=2 datefmt=yy/mm/dd xinc="1 month" \
37 pl -prefab chron data=data16 timefld=2 x=1 tab=hour datefmt=yy/mm/dd xinc="1 day" \
53 pl -prefab chron data=data22 header=yes x=1 y=2 datefmt=mm/dd/yyyy xinc="1 day" \
59 mode=line unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singleline \
64 …mode=bars stack=yes barwidth=0.1 unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singl…
69 pl -prefab chron data=data27 datefmt=mm/yyyy x=1 y=2 \
/dports/math/ploticus/pl240src/pltestsuite/
H A Dtestpf_chron12 pl -prefab chron data=data14 x=1 y=2 datefmt=yy/mm/dd \
19 pl -prefab chron data=data14 x=1 y=2 datefmt=yy/mm/dd xinc="1 month" \
24 pl -prefab chron data=data19 x=2 y=1 datefmt=mmddyy xinc="1 month" \
31 pl -prefab chron data=data14 x=1 y=2 datefmt=yy/mm/dd xinc="1 month" \
37 pl -prefab chron data=data16 timefld=2 x=1 tab=hour datefmt=yy/mm/dd xinc="1 day" \
53 pl -prefab chron data=data22 header=yes x=1 y=2 datefmt=mm/dd/yyyy xinc="1 day" \
59 mode=line unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singleline \
64 …mode=bars stack=yes barwidth=0.1 unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singl…
69 pl -prefab chron data=data27 datefmt=mm/yyyy x=1 y=2 \
/dports/shells/zsh/zsh-5.8.1/Functions/Calendar/
H A Dcalendar_showdate5 local optm datefmt opt
8 zstyle -s ':datetime:calendar_showdate:' date-format datefmt ||
9 datefmt="%a %b %d %H:%M:%S %Z %Y"
25 datefmt=$1[3,-1]
33 datefmt=$1
77 strftime $datefmt $REPLY
H A Dcalendar_add56 local datefmt
57 zstyle -s $context date-format datefmt ||
58 datefmt="%a %b %d %H:%M:%S %Z %Y"
59 strftime -s REPLY $datefmt $parse_new[time]
205 zstyle -s $context date-format datefmt
206 strftime -s REPLY $datefmt $parse_new[time]
/dports/net-mgmt/netmagis-detecteq/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/net-mgmt/netmagis-topo/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/net-mgmt/netmagis-metro/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/net-mgmt/netmagis-www/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/net-mgmt/netmagis-common/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/net-mgmt/netmagis-database/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/net-mgmt/netmagis-utils/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/net-mgmt/netmagis-servers/netmagis-2.3.4/www/cgi/
H A Dtopotop288 proc topotop-all {dbfd datefmt arg} {
382 set date [clock format [clock scan $date] -format $datefmt]
448 proc topotop-eqmod {dbfd datefmt arg} {
489 proc topotop-ifchg {dbfd datefmt arg} {
553 proc topotop-modlog {dbfd datefmt arg} {
597 proc topotop-status {dbfd datefmt arg} {
611 set date [clock format [clock scan $date] -format $datefmt]
624 proc topotop-keepstate {dbfd datefmt arg} {
676 set datefmt [dnsconfig get "datefmt"]
704 set top [topotop-all $dbfd $datefmt ""]
[all …]
/dports/devel/py-aiologger/aiologger-0.6.1/aiologger/formatters/
H A Dbase.py115 datefmt: str = None,
139 self.datefmt = datefmt
142 def format_time(self, record: LogRecord, datefmt: str = None) -> str:
161 if datefmt:
162 return time.strftime(datefmt, ct)
223 record.asctime = self.format_time(record, self.datefmt)
/dports/mail/lbdb/lbdb-0.42.1/
H A Dlbdb-fetchaddr.sh.in31 datefmt='%Y-%m-%d %H:%M'
61 datefmt="$1"
86 datefmt="$1"
121 if $fetchaddr $additional_param -d "$datefmt" $hdrlist $charset >> $db ; then
H A Dfetchaddr.c59 int writeout(struct header *h, const char *datefmt, in writeout() argument
99 strftime(timebuf, sizeof(timebuf), datefmt, localtime(&timep)); in writeout()
119 char *datefmt = NULL; in main() local
132 datefmt = argv[++i]; in main()
148 if (!datefmt) in main()
149 datefmt = safe_strdup("%Y-%m-%d %H:%M"); in main()
224 rv = writeout(&hdr[i], datefmt, create_real_name) || rv; in main()
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/include/ossim/base/
H A DossimDate.h121 static int datefmt; // Default date format
126 int df =datefmt,
129 std::ostream& printDate(std::ostream & os, int f =datefmt) const;
246 ossimDate(int datefmt =ossimLocalTm::datefmt);
248 int dtfmt =ossimLocalTm::datefmt);
249 ossimDate (time_t t, int dtfmt =ossimLocalTm::datefmt);
250 ossimDate(int month, int day, int year,int dtfmt=ossimLocalTm::datefmt);
/dports/multimedia/streamlink/streamlink-2.1.2/src/streamlink/
H A Dlogger.py32 def __init__(self, fmt, datefmt=None, style="%", remove_base=None): argument
35 super().__init__(fmt, datefmt=datefmt, style=style)
44 def formatTime(self, record, datefmt=None): argument
47 return tdt.strftime(datefmt or self.default_time_format)
/dports/math/ploticus/pl240src/src/
H A Ddatetime.c161 char datefmt[20], timefmt[20]; local
166 strcpy( datefmt, "" );
168 if( format[0] != Dtsep[0] && tolower(format[0]) != 'h' ) GL_getchunk( datefmt, format, &i, Dtsep );
175 if( datefmt[0] != '\0' ) {
176 DT_formatdate( datepart, datefmt, s );
180 if( datefmt[0] != '\0' )strcpy( t, Dtsep );
/dports/math/ploticus-nox11/pl240src/src/
H A Ddatetime.c161 char datefmt[20], timefmt[20]; local
166 strcpy( datefmt, "" );
168 if( format[0] != Dtsep[0] && tolower(format[0]) != 'h' ) GL_getchunk( datefmt, format, &i, Dtsep );
175 if( datefmt[0] != '\0' ) {
176 DT_formatdate( datepart, datefmt, s );
180 if( datefmt[0] != '\0' )strcpy( t, Dtsep );
/dports/astro/gpsbabel14/gpsbabel-1.4.4/
H A Dpathaway.c71 static char *datefmt; variable
361 if (datefmt) { in ppdb_decode_tm()
364 if (NULL == strptime(cx, datefmt, &tm2)) { in ppdb_decode_tm()
521 datefmt = NULL; in ppdb_rd_init()
529 if (datefmt) { in ppdb_rd_deinit()
530 xfree(datefmt); in ppdb_rd_deinit()
624 xasprintf(&datefmt, "%s %s", "%H%M%S", c); in ppdb_wr_init()
627 datefmt = xstrdup("%H%M%S %Y%m%d"); in ppdb_wr_init()
637 if (datefmt) { in ppdb_wr_deinit()
638 xfree(datefmt); in ppdb_wr_deinit()
[all …]
/dports/astro/gpsbabel/gpsbabel-gpsbabel_1_7_0/deprecated/
H A Dpathaway.cc74 static char *datefmt; variable
365 if (datefmt) { in ppdb_decode_tm()
368 if (NULL == strptime(cx, datefmt, &tm2)) { in ppdb_decode_tm()
524 datefmt = NULL; in ppdb_rd_init()
532 if (datefmt) { in ppdb_rd_deinit()
533 xfree(datefmt); in ppdb_rd_deinit()
627 xasprintf(&datefmt, "%s %s", "%H%M%S", c); in ppdb_wr_init()
630 datefmt = xstrdup("%H%M%S %Y%m%d"); in ppdb_wr_init()
640 if (datefmt) { in ppdb_wr_deinit()
641 xfree(datefmt); in ppdb_wr_deinit()
[all …]
/dports/sysutils/py-mitogen/mitogen-0.2.9/mitogen/
H A Dutils.py82 def _formatTime(record, datefmt=None): argument
84 return dt.strftime(datefmt)
88 datefmt = '%H:%M:%S'
90 datefmt += '.%f'
92 formatter = logging.Formatter(fmt, datefmt)

12345678910>>...46