Skip to content
/ sdate Public

A lua sdate implementation (eternal september)

Notifications You must be signed in to change notification settings

zorggn/sdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdate

A lua eternal september calendar implementation.

Usage

sdate.date(formatString, time)

Supported specifiers

  • %a Short weekday name
  • %A Long weekday name
  • %b Short season name
  • %B Long season name
  • %c Default date and time format
  • %C More appropriate date and time format :3
  • %d The day of the season
  • %H Hours, 0-23
  • %I Hours, 1-12
  • %m The season of the year
  • %M Minutes
  • %p AM or PM
  • %S Seconds
  • %w The day of the week
  • %W The day of the year
  • %x Default date format
  • %X Default time format
  • %y Short year
  • %Y Long year
  • %% Literal "%" Escape

Features

  • 200x slower than os.date!

Features missing

  • The %c, %x and %X flags are not locale-specific.

About

A lua sdate implementation (eternal september)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages