package stog

  1. Overview
  2. Docs
type lang_abbrev = string
type lang_data = {
  1. days : string array;
  2. months : string array;
  3. string_of_date : Stog_types.date -> string;
  4. string_of_datetime : Stog_types.date -> string;
}
val french : lang_data
val english : lang_data
val register_lang : lang_abbrev -> lang_data -> unit
val set_default_lang : lang_abbrev -> unit
val data_of_lang : lang_abbrev option -> lang_data
val get_month : lang_abbrev option -> int -> string
val string_of_date : lang_abbrev option -> Stog_types.date -> string
val string_of_date_opt : lang_abbrev option -> Stog_types.date option -> string
val string_of_datetime : lang_abbrev option -> Stog_types.date -> string
val string_of_datetime_opt : lang_abbrev option -> Stog_types.date option -> string
val short_string_of_date : Stog_types.date -> string
OCaml

Innovation. Community. Security.