stog

Static web site compiler, able to handle blog posts as well as regular pages or any XML document in general
IN THIS PACKAGE
Module Stog . Date
type t
val of_string : ?loc:Xtmpl.Xml.loc -> string -> t
val of_string_date : ?loc:Xtmpl.Xml.loc -> string -> t
val to_string : t -> string
val now : unit -> t
val of_float : float -> t
val to_date_time : t -> Ptime.date * Ptime.time
val weekday : t -> [ `Fri | `Mon | `Sat | `Sun | `Thu | `Tue | `Wed ]

Return week day from 0 (sunday) to 6 (saturday).

val format : t -> string -> string