Skip to content

rbfonbuena/sass-timestamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sass-timestamp Gem Version

Ruby Sass function for adding timestamps to compiled CSS.

Requirements

  • Ruby Sass 3.2+

Install

gem install sass-timestamp

Usage

  1. Add require "sass-timestamp" in sass option or config.rb if using compass.

  2. Add #{timestamp()} in the header or anywhere in your .scss file:

    /* Compiled on #{timestamp()} */

    output:

    /* Compiled on 2015-02-02 13:01:40 +0800 */

Alternatively, for Unix-style time stamp, use #{unix_timestamp()}.

About

Sass function for adding timestamps to compiled CSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages