diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-14 19:04:43 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-14 19:04:43 +0800 |
commit | cdeae223566acc535415499c24a784fc8eb9c1a4 (patch) | |
tree | a83bd765620e32e413aafda7b4b0f4476d492896 | |
parent | e4aa011d235d88cf9e9e1c5073d2b387182d6dcc (diff) | |
parent | e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7 (diff) | |
download | dexon-cdeae223566acc535415499c24a784fc8eb9c1a4.tar dexon-cdeae223566acc535415499c24a784fc8eb9c1a4.tar.gz dexon-cdeae223566acc535415499c24a784fc8eb9c1a4.tar.bz2 dexon-cdeae223566acc535415499c24a784fc8eb9c1a4.tar.lz dexon-cdeae223566acc535415499c24a784fc8eb9c1a4.tar.xz dexon-cdeae223566acc535415499c24a784fc8eb9c1a4.tar.zst dexon-cdeae223566acc535415499c24a784fc8eb9c1a4.zip |
Merge pull request #949 from bas-vk/issue944
removed invalid filename characters
-rw-r--r-- | cmd/geth/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index b4d7feed1..725f04efe 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -563,7 +563,7 @@ func upgradeDb(ctx *cli.Context) { bcVersion = core.BlockChainVersion } - filename := fmt.Sprintf("blockchain_%d_%s.chain", bcVersion, time.Now().Format("2006-01-02_15:04:05")) + filename := fmt.Sprintf("blockchain_%d_%s.chain", bcVersion, time.Now().Format("20060102_150405")) exportFile := filepath.Join(ctx.GlobalString(utils.DataDirFlag.Name), filename) err = utils.ExportChain(ethereum.ChainManager(), exportFile) |