Project

General

Profile

« Previous | Next » 

Revision 6925

lib/common.Makefile: Replaced no longer used $(date) with function to generate human-readable text date (rather than date to put in filename). Removed leading zeros from date and hour. Added timezone.

View differences:

lib/common.Makefile
36 36
# System
37 37
os := $(shell uname)
38 38
forOs = $(patsubst %,%-$(filter Linux Darwin,$(os)),$(1))
39
date = $(shell date +"%Y-%m-%d-%H-%M-%S")
39
date = $(shell date +"%-Y-%-m-%-d %-H:%M:%S %Z")
40 40

  
41 41
# Terminal
42 42
esc := '['

Also available in: Unified diff