Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.utils.format_date

See Manipulating dates and time.

Functions

day_and_month(d)

day_and_weekday(d)

dtomy(d)

"format date as month and year" : return the specified date as a localized string of type 'June 2011'.

dtos(d)

Format date short.

dtosl(d)

Format date full.

dtosm(d)

Format date medium.

fdf(d)

Format date full.

fdl(d)

Format date long.

fdm(d)

Format date medium.

fdmy(d)

"format date as month and year" : return the specified date as a localized string of type 'June 2011'.

fds(d)

Format date short.

format_date(d[, format])

Return the given date d formatted with Babel's date formatting and using Django's current language.

ftf(t)

ftl(t)

monthname(n)

Return the monthname for month # n in current language.

naturaltime(v)

lino.utils.format_date.monthname(n)

Return the monthname for month # n in current language.

lino.utils.format_date.fdmy(d)

“format date as month and year” : return the specified date as a localized string of type ‘June 2011’.

lino.utils.format_date.format_date(d, format='medium')

Return the given date d formatted with Babel’s date formatting and using Django’s current language.

lino.utils.format_date.fdf(d)

Format date full.

lino.utils.format_date.fdl(d)

Format date long.

lino.utils.format_date.fdm(d)

Format date medium.

lino.utils.format_date.fds(d)

Format date short.

lino.utils.format_date.dtosl(d)

Format date full.

lino.utils.format_date.dtosm(d)

Format date medium.

lino.utils.format_date.dtos(d)

Format date short.

lino.utils.format_date.dtomy(d)

“format date as month and year” : return the specified date as a localized string of type ‘June 2011’.