1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vweb: document live reload

This commit is contained in:
Alexander Medvednikov
2023-07-08 19:29:11 +03:00
parent 4f518c2850
commit 5355c67ebe
2 changed files with 36 additions and 25 deletions

View File

@ -86,6 +86,10 @@ pub enum FormatDelimiter {
no_delimiter
}
pub fn Time.new(t Time) Time {
return new_time(t)
}
// smonth returns month name abbreviation.
pub fn (t Time) smonth() string {
if t.month <= 0 || t.month > 12 {